|
1 | | -<x-app-layout layout="app" title='IDE plugins' description="Pest has IDE plugins for PhpStorm and VSCode."> |
2 | | - <main role="main" class="w-full flex-auto"> |
| 1 | +<x-app-layout description="Pest has IDE plugins for PhpStorm and VSCode." layout="app" title='IDE plugins'> |
| 2 | + <main class="w-full flex-auto" role="main"> |
3 | 3 | <div class="relative mx-auto min-h-[70vh] max-w-7xl border-x border-zinc-700"> |
4 | | - <span class="crosshair -left-1 top-px"></span> |
5 | | - <span class="crosshair -right-1 top-px"></span> |
| 4 | + <div class="top-14.25 pointer-events-none fixed inset-x-0 z-10"> |
| 5 | + <div class="relative mx-auto max-w-7xl"> |
| 6 | + <span class="crosshair -left-1 top-px"></span> |
| 7 | + <span class="crosshair -right-1 top-px"></span> |
| 8 | + </div> |
| 9 | + </div> |
| 10 | + <span class="crosshair -left-1.25 -bottom-1.25"></span> |
| 11 | + <span class="crosshair -right-1.25 -bottom-1.25"></span> |
| 12 | + <span class="crosshair -bottom-1.25 left-59 hidden lg:block"></span> |
| 13 | + <span class="crosshair -bottom-1.25 right-59 hidden lg:block"></span> |
6 | 14 |
|
7 | 15 | <div class="lg:grid lg:grid-cols-[15rem_minmax(0,1fr)_15rem]"> |
8 | 16 | <x-docs.sidebar>{!! $index !!}</x-docs.sidebar> |
|
13 | 21 | <span>docs</span> |
14 | 22 | <span class="text-zinc-600">/</span> |
15 | 23 | <span class="text-zinc-400">editor-setup</span> |
16 | | - <a class="ml-auto hidden text-zinc-400 underline-offset-4 hover:text-rose-400 hover:underline lg:inline" href="https://github.com/pestphp/pestphp.com/edit/next/resources/views/ide.blade.php" target="_blank" rel="noopener">edit this page →</a> |
| 24 | + <a class="ml-auto hidden text-zinc-400 underline-offset-4 hover:text-rose-400 hover:underline lg:inline" href="https://github.com/pestphp/pestphp.com/edit/next/resources/views/ide.blade.php" rel="noopener" target="_blank">edit this page →</a> |
17 | 25 | </div> |
18 | 26 |
|
19 | 27 | <article class="docs-main prose prose-invert max-w-none"> |
20 | | - <h1>Editor Setup</h1> |
| 28 | + <h1>Editor Setup</h1> |
21 | 29 |
|
22 | | - <p> |
23 | | - An editor plugin can enhance your experience when working with Pest. While most editors offer built-in support for Pest, a dedicated plugin adds helpful functionality on top of your editor, streamlining your workflow. |
24 | | - </p> |
| 30 | + <p> |
| 31 | + An editor plugin can enhance your experience when working with Pest. While most editors offer built-in support for Pest, a dedicated plugin adds helpful functionality on top of your editor, streamlining your workflow. |
| 32 | + </p> |
25 | 33 |
|
26 | | - <p> |
27 | | - Currently, the PhpStorm team at JetBrains maintains the Pest plugin for PhpStorm, which has been installed by default since PhpStorm 2023.3. |
28 | | - </p> |
| 34 | + <p> |
| 35 | + Currently, the PhpStorm team at JetBrains maintains the Pest plugin for PhpStorm, which has been installed by default since PhpStorm 2023.3. |
| 36 | + </p> |
29 | 37 |
|
30 | | - <div class="mt-6 mb-12"> |
31 | | - <x-jetbrains-ide-plugin |
32 | | - title="PhpStorm" |
33 | | - plugin-id="14636" |
34 | | - logo="https://upload.wikimedia.org/wikipedia/commons/c/c9/PhpStorm_Icon.svg" |
35 | | - url="https://plugins.jetbrains.com/plugin/14636-pest" |
36 | | - github="https://github.com/pestphp/pest-intellij"> |
37 | | - </x-jetbrains-ide-plugin> |
38 | | - </div> |
| 38 | + <div class="mb-12 mt-6"> |
| 39 | + <x-jetbrains-ide-plugin github="https://github.com/pestphp/pest-intellij" logo="https://upload.wikimedia.org/wikipedia/commons/c/c9/PhpStorm_Icon.svg" plugin-id="14636" title="PhpStorm" url="https://plugins.jetbrains.com/plugin/14636-pest"> |
| 40 | + </x-jetbrains-ide-plugin> |
| 41 | + </div> |
39 | 42 |
|
40 | | - <p> |
41 | | - If you do not use PhpStorm, you may wish to try one of the community-maintained plugins below. However, these alternatives may not offer the same experience as the official PhpStorm plugin. |
42 | | - </p> |
| 43 | + <p> |
| 44 | + If you do not use PhpStorm, you may wish to try one of the community-maintained plugins below. However, these alternatives may not offer the same experience as the official PhpStorm plugin. |
| 45 | + </p> |
43 | 46 |
|
44 | | - <div class="space-y-6 mt-6"> |
45 | | - <x-vs-code-ide-plugin |
46 | | - title="VSCode PHPUnit TestExplorer" |
47 | | - extension="recca0120.vscode-phpunit" |
48 | | - logo="https://raw.githubusercontent.com/recca0120/vscode-phpunit/main/img/icon.png" |
49 | | - url="https://marketplace.visualstudio.com/items?itemName=recca0120.vscode-phpunit" |
50 | | - github="https://github.com/recca0120/vscode-phpunit"> |
51 | | - </x-vs-code-ide-plugin> |
52 | | - |
53 | | - <x-vs-code-ide-plugin |
54 | | - title="VSCode" |
55 | | - extension="m1guelpf.better-pest" |
56 | | - logo="https://upload.wikimedia.org/wikipedia/commons/9/9a/Visual_Studio_Code_1.35_icon.svg" |
57 | | - url="https://marketplace.visualstudio.com/items?itemName=m1guelpf.better-pest" |
58 | | - github="https://github.com/m1guelpf/better-pest"> |
59 | | - </x-vs-code-ide-plugin> |
| 47 | + <div class="mt-6 space-y-6"> |
| 48 | + <x-vs-code-ide-plugin extension="recca0120.vscode-phpunit" github="https://github.com/recca0120/vscode-phpunit" logo="https://raw.githubusercontent.com/recca0120/vscode-phpunit/main/img/icon.png" title="VSCode PHPUnit TestExplorer" url="https://marketplace.visualstudio.com/items?itemName=recca0120.vscode-phpunit"> |
| 49 | + </x-vs-code-ide-plugin> |
60 | 50 |
|
61 | | - <x-vs-code-ide-plugin |
62 | | - title="VSCode Snippets" |
63 | | - extension="dansysanalyst.pest-snippets" |
64 | | - logo="https://raw.githubusercontent.com/dansysanalyst/pest-snippets/main/images/icon.png" |
65 | | - url="https://marketplace.visualstudio.com/items?itemName=dansysanalyst.pest-snippets" |
66 | | - github="https://github.com/dansysanalyst/pest-snippets"> |
67 | | - </x-vs-code-ide-plugin> |
| 51 | + <x-vs-code-ide-plugin extension="m1guelpf.better-pest" github="https://github.com/m1guelpf/better-pest" logo="https://upload.wikimedia.org/wikipedia/commons/9/9a/Visual_Studio_Code_1.35_icon.svg" title="VSCode" url="https://marketplace.visualstudio.com/items?itemName=m1guelpf.better-pest"> |
| 52 | + </x-vs-code-ide-plugin> |
68 | 53 |
|
69 | | - <x-neovim-ide-plugin |
70 | | - title="Neovim (via Neotest)" |
71 | | - logo="https://upload.wikimedia.org/wikipedia/commons/3/3a/Neovim-mark.svg" |
72 | | - url="https://github.com/V13Axel/neotest-pest" |
73 | | - github="https://github.com/V13Axel/neotest-pest"> |
74 | | - </x-ide-plugin> |
75 | | - </div> |
| 54 | + <x-vs-code-ide-plugin extension="dansysanalyst.pest-snippets" github="https://github.com/dansysanalyst/pest-snippets" logo="https://raw.githubusercontent.com/dansysanalyst/pest-snippets/main/images/icon.png" title="VSCode Snippets" url="https://marketplace.visualstudio.com/items?itemName=dansysanalyst.pest-snippets"> |
| 55 | + </x-vs-code-ide-plugin> |
| 56 | + |
| 57 | + <x-neovim-ide-plugin github="https://github.com/V13Axel/neotest-pest" logo="https://upload.wikimedia.org/wikipedia/commons/3/3a/Neovim-mark.svg" title="Neovim (via Neotest)" url="https://github.com/V13Axel/neotest-pest"> |
| 58 | + </x-ide-plugin> |
| 59 | + </div> |
76 | 60 |
|
77 | | - {!! $body !!} |
| 61 | + {!! $body !!} |
78 | 62 | </article> |
79 | 63 | </div> |
80 | 64 |
|
|
0 commit comments