I'm used to Visual Studio 2010 "Format Document" menu option to reformat JavaScript source. Now trying Dart Editor looking for menu option to reformat .dart source code? Is this feature supported?
Code formatting is WIP and will probably be available soon.
see
https://code.google.com/p/dart/issues/detail?id=2059
https://codereview.chromium.org/16562012/
There is no code formatting yet, unfortunately. I am sure this is something that will be added within the end of 2014 or 2015 though.
Related
Can you customise colors of javascript editor in visual studio 2019 to have the same has in vscode, I already look into the police and fonts editor of vs2019 + extensions for more User Tags but none of them change the colors settings.
What I want
What I have
I having same problem, Javascript sytnax color in Visual Studio 2019 seems broken for now:
https://developercommunity.visualstudio.com/content/problem/1127320/lost-typescript-intellisense-and-sytnax-coloring-i.html
The only solution for me is using VSCode..
VS ReShaper extension supports VSCode-like syntax highlighting:
https://www.jetbrains.com/help/resharper/Coding_Assistance__Syntax_Highlighting.html
Example: https://i.imgur.com/Atw4yBP.png
The only caveat being ReShaper is not free and causes lag. However, there are many extensions claiming to replace (parts of) ReShaper and chances are one of these also enables similar syntax highlighting.
what’s “tabs are not allowed in f# code unless the #indent off option is used” Error?
I use the last version .netcore and vs 2019. I want to use the lightweight syntax
When using lightweight syntax, you must use spaces, not tabs, for indentation.
Most editors have an option (including Visual Studio, by default) will turn a tab into spaces automatically when you type. I suspect this was written in a different editor and opened in VS.
In Visual Studio 2019, if you select everything in your document, and do Edit->Advanced->Untabify Selected Lines, it will correct it for you, as well.
Does anyone know how to turn off this annoying popup in Visual Studio Community 2019?
All the answers I see for it are for Visual Studio Code when I google it, which says to change it under the "File" > "Preferences" menu. Visual Studio 2019 doesn't have that menu. I just want to code without visual obstructions from my editor. Driving me nuts. Thank you!
The language is VB in ASP Classic environment.
I have turned off everything I could find that seems like it could be related to a popup under the "Options" menu, but many of the descriptions there are obscure. You could seriously make a full time job out of learning what all this stuff means.
I found an answer, however odd it may be. With #JackArbiter's help in narrowing down the possibilities, it turned out to be the file type within the environment that was the issue. I didn't realize at first that it was only a certain file extension that was creating the issue. The *.asp files behaved appropriately, but the *.inc files were the problem.
I went to "Options" > "Text Editor" > "File Extension" and added the "inc" file extension there with the editor set to Visual Basic. These files now behave the same as the asp files.
Go to Tools>Options>Text Editor>[Your markup or language] and you can adjust the intellisense settings. In your case there will be no intellisense settings listed (general HTML is what I assume to be the issue here, though you'll have to do this again probably for the language of the IF/Else code blocks) so go to HTML>General and uncheck "Auto list members" at the top.
How to get back integrated source code formatting back to Delphi? I suppose I disabled some package or something and there is no more an option in Edit menu to format source. What package should I get back installed to have it on again?
Install Modeling - to have code formatter
Uninstall Modeling - to remove it
See question How to disable the Formatter in Delphi 2010. More specifically How to disable the Formatter in Delphi 2010 and re-install the dll mentioned in that answer
The formatter in Delphi 2010 is really an annoying thing to me.
I prefer formatting my code manually.
I believe I do it better.
How can I disable it?
NOTE: Answers on why I don't use it in the first place will not be accepted. I need it switched OFF. Nothing more, nothing less.
Install DDevExtensions from Andreas Hausladen.
In its last version:
Version 2.0 (2009-09-13)
Added: Embarcadero RAD Studio 2010 support
Added: Editor tab double click action (zoom, super-zoom)
Added: Source Formatter hotkey (Ctrl+D) can be disabled
Remove or rename the file Embarcadero.Modeling.Formatter.dll in Delphi's bin directory.
There is no need for downloading and installing an extension, not even for deleting a file!
In the Delphi 10 Options head to:
Formatting / Delphi / Profiles and Status
(the captions may differ slightly, I have translated them from German)
There is a Checkbox there, titled "Activate Formatting".
Possible downside: This Formatter feature is also deactivated in the Edit menu.