bracket navigation ("go to bracket" & "expand selection"...) in plain text files is broken
See original GitHub issueIssue Type: Bug
- in VSCode, hit
[ctrl+N]
(File → New Text File
) - notice the language mode button on the status bar (↘) says
Plain Text
- insert following text:
outside text (inside text) outside text [inside text] outside text {inside text}
- put cursor on any bracket, hit
[F1]
(command palette) →go to bracket
result: no change in cursor location (broken in the latest VSCode update)
expected: cursor should jump to matching bracket - put cursor on any instance of the text “
inside
”, hit[F1]
(command palette) →expand selection
- notice selection around “
inside
” - use
expand selection
again
result: selection expands to whole line (broken in the latest VSCode update)
expected: repeated uses ofexpand selection
should select
- “
inside
” - “
inside text
” - “
{inside text}
” - and then the whole line
- “
VS Code version: Code 1.67.0 (57fd6d0195bb9b9d1b49f6da5db789060795de47, 2022-05-04T12:06:02.889Z) OS version: Windows_NT x64 10.0.19044 Restricted Mode: No
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i5-2500K CPU @ 3.30GHz (4 x 3311) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on oop_rasterization: enabled opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_renderer: enabled_on video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.98GB (8.15GB free) |
Process Argv | –crash-reporter-id 35ee7a86-9a48-4fb6-9fd8-8118916441ec |
Screen Reader | no |
VM | 57% |
Extensions (23)
Extension | Author (truncated) | Version |
---|---|---|
astro-vscode | ast | 0.16.1 |
calva | bet | 2.0.272 |
clj-kondo | bor | 2022.4.25 |
insert-unicode | bru | 0.13.3 |
docs-markdown | doc | 0.2.110 |
es7-react-js-snippets | dsz | 4.4.3 |
gitlens | eam | 12.0.6 |
prettier-vscode | esb | 9.5.0 |
url-encode | fle | 1.1.0 |
code-runner | for | 0.11.7 |
selected-lines-count | gur | 1.4.0 |
vscode-drawio | hed | 1.6.4 |
escape-regexp | kir | 1.0.0 |
git-graph | mhu | 1.30.0 |
vetur | oct | 0.35.0 |
subtitles-editor | pep | 1.1.6 |
material-icon-theme | PKi | 4.17.0 |
java | red | 1.6.0 |
vscode-autohotkey | sle | 0.2.2 |
svelte-vscode | sve | 105.16.0 |
vscodeintellicode | Vis | 1.2.20 |
vscode-java-pack | vsc | 0.22.4 |
vuetify-vscode | vue | 0.2.0 |
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
sublimetext2 - Expand selection with brackets - Stack Overflow
Sublime Text's Expand Selection to Brackets is designed to be called multiple times, it works as follows: With nothing selected or an incomplete...
Read more >File Type Brackets - EditPad Pro
On the Brackets page in the file type configuration, you can configure bracket matching and automatic breaking and indentation. Turn on “highlight matching...
Read more >Collapse and expand regions of code - Visual Studio (Windows)
To collapse an outlining region, double-click any line in the region on the outlining margin, which appears just to the left of the...
Read more >Handle caret and select text | JetBrains Rider Documentation
Make a selection from the current caret position to the beginning/end of the current word, and then extend the selection word by word...
Read more >Editor/Debugger Preferences - MATLAB & Simulink
Select Editor/Debugger, and then adjust preference options as described in ... This preference applies only to plain text files such as files with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also added
"editor.guides.highlightActiveBracketPair": false
to keep the colors fadedThanks for the tip, and keep up the good work
Workaround for now:
Add this to your settings:
If you don’t like the colors, you can turn them off:
I’m working on a fix so that matching works independently of
colorizedBracketPairs
.