Comments (5)
I don't seem to be able to reproduce this, it works as you'd like:
indent.mp4
Can you confirm what have this setting set to?
If it says "Also modified elsewhere", please hover over that text and take a screenshot of that too:
from dart-code.
我似乎无法重现这一点,但它的工作方式正如你所希望的那样:
缩进.mp4
您能确认这个设置是什么吗?如果显示“也在其他地方修改”,请将鼠标悬停在该文本上并截取屏幕截图:
from dart-code.
Strange, I'm not sure what's different between our machines that's causing this.
I found another issue that looks like someone reporting the same problem:
I will try commenting on there to see if someone on the VS Code team may have ideas of what might impact this.
from dart-code.
I found the solution to the problem,in vscode setting.json:
// "editor.language.brackets": [],--->delete this row
from dart-code.
Ah, that makes sense - the behaviour is based on VS Code knowing that these are brackets. Do you know why you might have changed that setting? Maybe there's another way to achieve what you wanted without doing that.
from dart-code.
Related Issues (20)
- Debugging performance is poor and can hang VS Code when spawning lots of isolates when there are breakpoints HOT 17
- Socket error: Invalid argument (uri): URI is not a valid file:// URI: "/Users/<username>/repo/<repo_name>/lib/main.dart" HOT 1
- Error enabling a new platform type HOT 1
- Incorrect warning in Intellesense regarding nullability with optional paths HOT 3
- The editor could not be opened because the file was not found. Breakpoints "All Exceptions" socket_patch.dart. HOT 1
- Launching a new app in VSCode fails quickly with no error in VS Code insiders HOT 13
- Using `${name}` in a folder of a log name results in `"${name}"` folders being created HOT 2
- Allow separate DAP log files for dart/flutter run/attach/test HOT 1
- dapLogFile doesn't capture anything + doesn't support `${name}`
- Editing pubspec in a checkout of pkg:build never runs `pub get`
- Ensure a failure to start DTD does not break functionality that does not depend on DTD
- Modifying a pubspec in a template project triggers `pub get` HOT 6
- Breakpoint Line Numbers incorrect/changing/been added several times HOT 3
- keep getting: Your project contains issues that can be fixed by running "dart fix" from the command line. HOT 3
- Review whether flutterRunLogFile/flutterTestLogFile work with new SDK DAPs HOT 1
- Evaluation results (inc. breakpoint conditions) can give bad error messages when using undefined variables HOT 9
- Supporting enabling the VM Service traffic when the session is already running HOT 2
- Formatting does not produce minimal edits when empty collections are unwrapped onto a single line HOT 1
- Displaying numbers as hex in debugger does not apply to dart:typed_data lists like Uint8List HOT 3
- Formatting a selection with trailing whitespace in a comment doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart-code.