vuejs / devtools

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools.vuejs.org/
MIT License
1.7k stars 122 forks source link

Could not open [id].vue in the editor (on Windows/NTFS) #534

Closed WebMechanic closed 4 months ago

WebMechanic commented 4 months ago

Hello, this is an excellent next version of the Vue Dev Tools. Very well done! This might be the wrong repo as the origin of the error message below might come from a plugin. Please let me know so I can move this to the right place.

On Windows there seems to be an issue with Components (RouterView) that use VueRouter's "magic" properties in their file name like the sample "User ID" component from the router documentation [id].vue. I have "vue-router": "^4.4.0" and "unplugin-vue-router": "^0.10.0" installed grafik

If I click the HTML element generated by [id].vue I see this in the terminal

Could not open [id].vue in the editor. When running on Windows, file names are checked against a safe file name pattern to protect against remote code execution attacks. File names may consist only of alphanumeric characters (all languages), periods, dashes, slashes, and underscores.

If I need brackets in the file name to make use of automagic RouterView props, how can I use this on Windows (NTFS) where brackets are not permitted?

Thank you!

alexzhang1030 commented 4 months ago

Duplicate of #531