Questions tagged [code-editor]

254 questions
357
votes
11 answers

Why does the Visual Studio editor show dots in blank spaces?

I have a strange bug in the Visual Studio text editor. All my blank spaces are replaced by a "." public class Person { int age; } looks like this public..class..Person.......................... {.................. ..int…
SNA
  • 7,528
  • 12
  • 44
  • 60
174
votes
4 answers

How can I prevent the "You have mixed tabs and spaces. Fix this?" message?

Any time I paste code into my .cs file, I get the dreaded "You have mixed tabs and spaces. Fix this?" message. It has three options: Tabify Untabify Don't show again I first tried "Tabify" a few times, until I was finally fed up and selected "Don't…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
150
votes
12 answers

Collapse all #regions only(!) in C# (Visual Studio)

There's a number of keyboard shortcuts and menu commands to automatically expand or collapse all foldables in the current document. Ctrl+M, Ctrl+L toggles all foldables recursively, from the top namespace down to the inner methods and comments.…
ygoe
  • 18,655
  • 23
  • 113
  • 210
94
votes
12 answers

How to collapse blocks of code in Eclipse?

Some days ago my Eclipse was working fine and a +/- appeared in every block that could be collapsed (functions, classes, etc.)... but now it does appear, and I don't know how to activate that feature again. It's Eclipse Helios, running on a Gentoo…
Cristian
  • 198,401
  • 62
  • 356
  • 264
67
votes
4 answers

Vertical Line in Android Studio

I don't know why but sometime in Android Studio Editor, it shows vertical line as shown in screenshot below. Don't know about other editor but it happens in Android Studio. So why it is showing and how to hide it?
Jagruttam Panchal
  • 3,152
  • 2
  • 15
  • 21
52
votes
2 answers

Free/open source code editor UI control for .Net

I'm looking for a free, syntax-highlighting, possibly autocompleting "Programmer's textbox" style control for use in a Visual Studio Windows Forms or WPF project. It should work with C# and self-defined languages, and the licence should permit its…
51
votes
8 answers

How to remove tab indent from several lines in IDLE?

If you want to indent several lines in Python IDLE you just mark the lines and hit Tab. But what if you want to remove the indent from several lines? Shift+Tab does not work for that in IDLE.
Thanx
  • 7,403
  • 5
  • 21
  • 12
42
votes
6 answers

How can I enable Visual Studio Code HTML error checking and validation?

I have just switched to Visual Studio Code for web development from NetBeans and am finding my way around. In NetBeans, if I forget the closing bracket on a tagname it will indicate my error with a red squiggly underline, and the alert in the left…
Marc
  • 423
  • 1
  • 4
  • 4
40
votes
4 answers

How to display full documentation of a method as you type in VS?

The title is pretty descriptive... Is there any extension that let me see FULL documentation of the method I'm typing ? I would like to see the documentation as I can see it in Object Browser with description of parameters and everything not just…
Rasto
  • 17,204
  • 47
  • 154
  • 245
38
votes
2 answers

IntelliJ: how to force editor to treat a file as javascript?

I'm creating a Grails app in IntelliJ 10 and have a javascript file that is created dynamically, as a Grails view. For that reason the javascript file doesn't end in '.js'. It ends in '.gsp' because it's a Groovy Server Page that spits out…
Dean Moses
  • 2,372
  • 2
  • 24
  • 36
29
votes
7 answers

Does Google Apps Script support external IDEs?

I am using Google Apps Script and was wondering if I could use any sort of editor outside of the one Google provides. (I purchased Sublime Text and would like to use that.) The one Google provides is disgusting, with tiny text even though I have a…
programmedpixel
  • 368
  • 1
  • 3
  • 8
27
votes
12 answers

Visual studio code comment in HTML files

I am trying Visual Studio Code lately and i've noticed that when i try to add a line comment in an HTML file (using Ctrl+/ or Ctrl+K Ctrl+C) instead of this: , i get this {# #}. In JS or CSS files the key bindings work just fine and produce…
Makis K.
  • 877
  • 2
  • 9
  • 16
23
votes
1 answer

Draw lines between methods in code editor of IntelliJ

Is there a way to make IntelliJ distinguish where each method’s body starts and stops? Perhaps drawing a line to separate the methods visually? Seems kind of silly nowadays to be typing a “flower box” of asterisks as comments around method headings.…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
23
votes
4 answers

RAD Studio 2009 Persistent Selection Issue: Bug or Feature?

Sometimes, when coding in RAD Studio 2009 (Delphi), suddently the behaviour of the code editor changes. After such an event, a selection is no longer cleared on character input. This often happens after a session of very intense coding (many…
Andreas Rejbrand
  • 105,602
  • 8
  • 282
  • 384
22
votes
4 answers

How can I fix a JupyterLab "Code Editor out of Sync" error message?

I am seeing the error message in my JupyterLab.: "Code Editor out of Sync. Please open your browser JavaScript console for bug report instructions" Jupyter Lab version 3.0.3 and Python version 3.7.7. I'm using both Chrome and Safari. I am still…
user14986176
  • 237
  • 1
  • 2
  • 3
1
2 3
16 17