Comments (2)
Hi @yaSebastian, thank you for your report. Unfortunately, I can't reproduce the issue on my end. I tried to create the same folder hierarchy, and scoped mod-cheats/src
and got a valid pattern.
Please make sure you don't have any special characters in the folder name that may affect the path string.
In addition, since your folders shared the same prefix, please note that one of the limitations we have (due to VSCode) is that folders and files that have the same prefix as the selected folder name may still appear - that's the reason that the folder mod
is still visible even when you scope mod-cheats/src
.
from scope-to-this-vscode.
Hi @rhalaly,
TL;DR
The problems seems to come from working with an unsaved workspace, disappearing when the workspace is saved to a file.
Generally, I use workspaces in VS Code just as a temporary thing, mostly for the convenience of having related folders open side by side in the same window. Losing them would be just a minor inconvenience and I'd restore them manually, but that hasn't happened a single time over all the years and VS Code updates, so thinking about that as a source of the problem not even remotely entered my mind.
Thanks to your screenshot it did. Once I stored the workspace to disk, the issue disappeared.
I double checked for any special character names and couldn't find any. I also did a few quick random tests to see if I could find any other pattern, but couldn't find any besides saving/not saving the workspace.
As for the limitations, they are fine, one side effect is even highly desirable in my current use case. Having not just one but both projects/folders show their /src.
Thanks for your reply even over the holidays. And thanks for your extension, it's awesome, it helps so much to focus in bigger projects, reducing the cognitive load by hiding all the clutter!
from scope-to-this-vscode.
Related Issues (10)
- Multi-folder scope HOT 1
- Add an hotkey for the "Scope to this" command. HOT 2
- Support multiple scopes HOT 1
- Add to OpenVSX
- Scope to this "in new panel" HOT 1
- Folders with similar names greedy matched HOT 7
- Excludes with "when" clauses are obliterated.
- Conflict with PHP Intelliphense extension HOT 4
- add ability to choose multiple directories to scope to HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scope-to-this-vscode.