Project Shortcuts: From Search to Workspace

2026-12-06来源 dev.toEnglish

Windows is my primary development environment, but my projects are spread across Windows, WSL, and remote machines accessed via SSH. Different projects also require different IDE profiles.

To bring these details together, I use Windows shortcuts. Instead of opening an IDE first and then selecting a profile and a workspace, I simply search for the project name and open it with the right setup.

How I organize it

  • One shortcut per project. Each shortcut points to the IDE and specifies the named profile, project path, and remote environment (if needed).
  • Name shortcuts after projects. I use <project-name>.<profile>.lnk and keep the shortcuts on my desktop. I find them through Windows Search or PowerToys Command Palette.
  • Reuse profiles across similar projects. For example, Nuxt and Spring Boot have their own profiles, with suitable extensions and settings. Project-specific AI agent rules stay in the repository.

Example: Cursor with WSL

First, create and configure a profile named Nuxt in Cursor, with the extensions and settings you want to reuse.

Create a Windows desktop shortcut named demo-frontend.Nuxt. In the shortcut properties, set Target to the IDE executable followed by its launch arguments:

"C:\path\to\Cursor.exe" --profile "Nuxt" --remote wsl+Ubuntu /home/dev/workspace/demo-frontend 

Replace C:\path\to\Cursor.exe with the actual path to your IDE. Adjust the profile name, WSL distribution, and project path for your environment.

Now search for demo-frontend in Windows Search or PowerToys Command Palette and select demo-frontend.Nuxt. This opens the project in WSL Ubuntu using the Nuxt profile.

The same approach works for local Windows projects and SSH projects, using the appropriate IDE launch arguments. The idea is not specific to Cursor or WSL.

Why I keep doing this

This approach relies mostly on built-in Windows features and existing IDE capabilities. No custom launcher or additional project management tool is needed.

There is some initial setup, and each new project needs a shortcut. But the more projects I manage and the more often I switch between them, the more useful this becomes.

The idea is simple: deal with the complexity during setup, so that starting work becomes a matter of searching for a project name.

I'd be interested to hear how others organize their development workspaces.

This article is based on my own workflow, with AI assistance for writing and English translation.

原文:https://www.a8q9.cn/en/article/project-shortcuts-from-search-to-workspace-1ed29f.html

相关文章