-
-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working
Description
Describe the bug
Inside tag <style> or in CSS exists only one way to create comment and it's block comment or multi-line comment
So if I use multi-line comment to create some regions in CSS,
I cant able to collapse this regions because VSCode doesn't recognize it like a region
It's also doesn't work with JSDoc comment
Reproduction
It's very simple to reproduce, you need to write CSS like this
.block {
/* #region TEST */
/* some styles.... */
/* #endregion */
}Or you can create something like this in JS
/** #region 100% SAFE FUNCS */
function delete_downloads() {/** ... */}
function delete_cache() {/** ... */}
function create_you_hacked_file() {/** ... */}
function change_user_password() {/** ... */}
function fill_computer_with_cat_image() {/** ... */}
function change_user_name() {/** ... */}
function hello_world() {
/* #region CALLER FUNCS TO HACK USER */
delete_downloads();
delete_cache();
change_user_password();
change_user_name();
fill_computer_with_cat_image();
create_you_hacked_file();
/* #endregion CALLER FUNCS TO HACK USER */
return 'Hello world!';
}
/** #endregion */Expected behaviour
You should be able to collapse #region when you used multi-line comment or JSDoc comment in VSCode
System Info
- OS: Ubuntu 22.04.3 LTS
- IDE: VSCode
Which package is the issue about?
Svelte for VS Code extension
Additional Information, eg. Screenshots
Metadata
Metadata
Assignees
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working
