Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check for empty space before // #875

Closed
ctf0 opened this issue May 4, 2019 · 2 comments
Closed

check for empty space before // #875

ctf0 opened this issue May 4, 2019 · 2 comments

Comments

@ctf0
Copy link

ctf0 commented May 4, 2019

🐛 Describe the bug
when using @sync host=something the ext will comment and uncomment the next line based on the active host, however the regex responsible for that is not correct because it simply removes any // which affects text like file:///C:/Users/abc/....

🌴 Visual Studio Code Version : 1.33.1
🌴 Code Settings Sync Version : 3.2.9
🌴 Standard or Insiders : Standard
🌴 Portable or Installed : Installed
🌴 OSS or Official Build : Official
🌴 Operating System : windows 7
🌴 Occurs On: Download
🌴 Proxy Enabled: No
🌴 Gist Id: [ ID_HERE ]

📰 To Reproduce
Steps to reproduce the behavior:

  1. https://github.com/be5invis/vscode-custom-css#getting-started

💪 Expected behavior
regex should check if // have a space before it to make sure its a comment not a path.

@shanalikhan
Copy link
Owner

Duplicate of #865

@shanalikhan shanalikhan marked this as a duplicate of #865 May 6, 2019
@shanalikhan
Copy link
Owner

cc : @ioprotium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants