When you work on larger Joomla projects every day, small repetitive tasks in your code editor can slowly add up. Opening and closing panels, searching through dozens of subfolders for the right MVC file, or typing the same file filters over and over again are minor things on their own, yet they interrupt your focus.
To make daily development in Visual Studio Code smoother and more comfortable, we created three lightweight and straightforward extensions: Phoca Auto Close Sidebar, Phoca Joomla MVC Jump, and Phoca Search Presets. Each one solves a specific annoyance without adding unnecessary bloat to your editor.
1. Phoca Auto Close Sidebar
If you like to see as much of your code on the screen as possible, the left sidebar with the File Explorer or Search panel can quickly get in the way. By default, VS Code does not give you a built in setting to automatically hide the sidebar right after you open a file.
Phoca Auto Close Sidebar solves this by automatically closing the sidebar whenever you start focusing on your code.
How it improves your workflow
- More screen space immediately: As soon as you open a file, the sidebar hides itself so your code gets the full width of the editor.
- Smart click handling: VS Code distinguishes between a single click preview tab and a double click permanent tab. By default, the extension closes the sidebar on a double click, allowing you to browse through files with single clicks first.
- Flexible triggers: You can decide exactly when the sidebar should close. It can react to double clicks, single clicks, switching to an already open tab, closing a tab, or simply clicking your mouse inside the text editor.
- Optional delay: If you prefer closing the sidebar on a single click but still want to be able to double click files, you can set a short delay in milliseconds.
Every trigger is controlled by a separate setting, so you can tailor the behavior to match the exact way you navigate your files.
Source and documentation: Phoca Auto Close Sidebar on GitHub
2. Phoca Joomla MVC Jump
Joomla components follow a clean and predictable structure, yet navigating between related files in a large component still takes plenty of scrolling and clicking. Imagine you are editing a layout file in tmpl/item/edit.php and suddenly need to check a method in ItemModel.php or adjust something in ItemController.php or HtmlView.php.
Phoca Joomla MVC Jump removes that friction by letting you jump between the core parts of a Joomla component in a single click or keyboard shortcut.
How it improves your workflow
Whenever you open a file that belongs to a Joomla component, four handy icons appear right in the editor title bar:
- Layout icon (
Ctrl+Alt+T): Jumps directly to the template layout files insidetmpl/<name>/*.php. If a view has multiple layouts, such asdefault.phpandedit.php, a quick picker lets you choose the one you want. - Eye icon (
Ctrl+Alt+V): Opens the correspondingHtmlView.phpfile. - Database icon (
Ctrl+Alt+M): Takes you straight to the related Model file. - Gear icon (
Ctrl+Alt+C): Opens the corresponding Controller file.
The extension automatically matches files by name in both the administrator and site sections of your component. It also keeps list views and form views separate just like Joomla does, so jumping from Items leads to ItemsModel and ItemsController, while Item leads to ItemModel and ItemController.
Source and documentation: Phoca Joomla MVC Jump on GitHub
3. Phoca Search Presets
Global search in VS Code is fast and reliable, especially when you narrow down the results using the files to include and files to exclude fields. However, VS Code does not let you save those glob patterns as reusable presets. If you frequently switch between searching only PHP files, JavaScript files, or excluding folders like vendor and node_modules, typing those patterns repeatedly gets tedious.
Phoca Search Presets adds two simple funnel buttons to the Search view title bar so you can save, manage, and apply your favorite search filters in one click.
How it improves your workflow
- Separate include and exclude lists: You get a green plus funnel for files to include and a red minus funnel for files to exclude. Both filters work independently, meaning you can mix and match any include preset with any exclude preset without overwriting your search term.
- Save and manage directly in the picker: You can type a new glob pattern right into the quick picker, apply it immediately, and save it as a preset with a single click. Editing labels, updating patterns, or deleting old presets happens right inside the same menu.
- Instant search execution: As soon as you select a preset, VS Code triggers the search automatically so you see updated results right away. If you prefer to trigger the search manually, you can easily turn this off in the settings.
- Quick reset: Whenever you want to search across the entire project again, you can clear either filter individually or reset both at once through the Command Palette.
See: Phoca Search Presets
Source and documentation: Phoca Search Presets on GitHub
Conclusion
All three extensions are open source, use only the standard VS Code API, and work smoothly in both Visual Studio Code and compatible editors like VSCodium. Whether you want a cleaner workspace, instant navigation across Joomla MVC files, or faster search filtering, these small tools can save you dozens of clicks every day.
You can find all our extensions, source code, and updates on Phoca.cz and on our GitHub profile.
