mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Remove @ from word separators (#1990)
This commit is contained in:
@@ -12,8 +12,9 @@
|
|||||||
["{", "}"],
|
["{", "}"],
|
||||||
["[", "]"],
|
["[", "]"],
|
||||||
["(", ")"],
|
["(", ")"],
|
||||||
["\"", "\""],
|
{ "open": "\"", "close": "\"", "notIn": ["string"] },
|
||||||
["'", "'"]
|
{ "open": "N'", "close": "'", "notIn": ["string", "comment"] },
|
||||||
|
{ "open": "'", "close": "'", "notIn": ["string", "comment"] }
|
||||||
],
|
],
|
||||||
"surroundingPairs": [
|
"surroundingPairs": [
|
||||||
["{", "}"],
|
["{", "}"],
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
import { IWordAtPosition } from 'vs/editor/common/model';
|
import { IWordAtPosition } from 'vs/editor/common/model';
|
||||||
|
|
||||||
export const USUAL_WORD_SEPARATORS = '`~!@#$%^&*()-=+[{]}\\|;:\'",.<>/?';
|
export const USUAL_WORD_SEPARATORS = '`~!#$%^&*()-=+[{]}\\|;:\'",.<>/?';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a word definition regular expression based on default word separators.
|
* Create a word definition regular expression based on default word separators.
|
||||||
|
|||||||
Reference in New Issue
Block a user