MhMadHamster / vscode-postcss-language

postcss syntax support extension for VSCode
MIT License
34 stars 7 forks source link

How to use /* */ for comments #20

Closed levinit closed 6 years ago

levinit commented 6 years ago

When I press vscode‘s shortcut ctrl - /, the comments style is double slash comments style //, How can I use /* comments */ rather than //comments ? Thanks😊

levinit commented 6 years ago

Sorry, I am so careless, ctrl-shift-a is block-comment shortcut, it will use /* */ style.

MhMadHamster commented 6 years ago

this issue was fixed in #17 i just forgot to publish it, will do asap

levinit commented 6 years ago

good 😃

在 Max Burmagin notifications@github.com,2018年1月15日 17:49写道:

this issue was fixed in #17https://github.com/MhMadHamster/vscode-postcss-language/pull/17 i just forgot to publish it, will do asap

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/MhMadHamster/vscode-postcss-language/issues/20#issuecomment-357632440, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AXQe98bat0TfPnwsEHCurZTyNFM-p5zxks5tKx8dgaJpZM4Rd4sz.

danawoodman commented 6 years ago

This is an issue still afaik. If I run comment link I get // instead of /**/

MhMadHamster commented 6 years ago

@danawoodman thanks for the report, what version of extension you are using? i've just tested 2.1.0 in .pcss file and it works as expected ( `/ */` used for comments )

danawoodman commented 6 years ago

I believe the latest? I’ll double check versions and report back

My file is .css but the file type is PostCSS.

danawoodman commented 6 years ago

Think I'm on latest. Have this in my config too:

  "files.associations": {
    "*.css": "postcss"
  },
MhMadHamster commented 6 years ago

dunno how I can help, I can't reproduce it, even after re-installing the extension 😕

danawoodman commented 6 years ago

Did you try with a .css file?

danawoodman commented 6 years ago

Here is in a .pcss file...

MhMadHamster commented 6 years ago

can you show your code --list-extensions ?

danawoodman commented 6 years ago

EditorConfig.EditorConfig
Orta.vscode-jest
SirTori.indenticator
Zignd.html-css-class-completion
alefragnani.project-manager
andischerer.theme-atom-one-dark
anseki.vscode-color
bbrakenhoff.solarized-light-custom
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
cpylua.language-postcss
dakara.dakara-foldplus
dbaeumer.jshint
dbaeumer.vscode-eslint
ecmel.vscode-html-css
eg2.tslint
eg2.vscode-npm-script
esbenp.prettier-vscode
fknop.vscode-npm
flowtype.flow-for-vscode
formulahendry.auto-close-tag
formulahendry.auto-rename-tag
idleberg.hopscotch
mechatroner.rainbow-csv
mikestead.dotenv
mkaufman.HTMLHint
mrmlnc.vscode-apache
ms-vscode.node-debug2
ms-vsliveshare.vsliveshare
msjsdiag.debugger-for-chrome
pthorsson.vscode-jsp
redhat.java
ricard.postcss
robertohuertasm.vscode-icons
robinbentley.sass-indented
shinnn.stylelint
streetsidesoftware.code-spell-checker
thenikso.github-plus-theme
tinkertrain.theme-panda
vscjava.vscode-java-debug
vscjava.vscode-java-pack
vscjava.vscode-java-test
vscjava.vscode-maven
vscodevim.vim
vsmobile.vscode-react-native
waderyan.gitblame
wayou.vscode-todo-highlight
wix.vscode-import-cost
zhuangtongfa.Material-theme```
MhMadHamster commented 6 years ago

you're using this fork, not mine one

danawoodman commented 6 years ago

@MhMadHamster what is the name of this extension in the VSCode app store?

danawoodman commented 6 years ago

Nevermind, I see it is postcss-sugarss-language

Name confused me, sorry for the false report