mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 02:08:47 +00:00
Ignoring URLs when adding line comment onEnter (#239576)
removing urls from this regex
This commit is contained in:
committed by
GitHub
parent
c9948b69ee
commit
1430e1845c
@@ -231,7 +231,7 @@
|
||||
// Add // when pressing enter from inside line comment
|
||||
{
|
||||
"beforeText": {
|
||||
"pattern": "\/\/.*"
|
||||
"pattern": "(?<!\\w:)\/\/.*"
|
||||
},
|
||||
"afterText": {
|
||||
"pattern": "^(?!\\s*$).+"
|
||||
|
||||
Reference in New Issue
Block a user