Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
0 votes
1 answer
45 views

I've got the dart formatter running on my code, and for some reason it insists on the following formatting: String get display => switch (type) { ListType.star => 'Starred', ...
Chris B.'s user avatar
  • 91.2k
1 vote
1 answer
60 views

I'm writing a VSCode plugin to handle a certain scripting language. This is the "language-configuration.json" file: { "comments": { "lineComment": { "...
Terr Lacont's user avatar
1 vote
0 answers
64 views

when I try to paste anything multiline with tabs it gets mangled in the VSCode integrated terminal while it works fine if I use an external powershell, for example: /game/systems/deterministic_rng.lua ...
man's user avatar
  • 11
2 votes
1 answer
119 views

I'm using CLion to work on some C++ project. When I write case statements, CLion always indents my case lines, like so: switch(foo) { case bar_1: do_stuff(); break; case bar_2: ...
einpoklum's user avatar
  • 137k
0 votes
0 answers
75 views

I am developing a compiler for a custom programming language. The initial parsing is done using Flex and Bison tools. The language supports statement blocks that are implemented in two different ways. ...
Antonis's user avatar
-4 votes
1 answer
125 views

I’m using VS Code to code in Dart (for Flutter). The default indentation is 2 spaces, but I want tabs instead of spaces. I’ve set tabs (with tab size 4) in several places, but without success. https://...
M. LAKHDARI's user avatar
0 votes
0 answers
54 views

I have max-code-length=80 set in my ~/.astylerc, along with indent=tab=4 but running astyle on the Java-code leaves some rather long method-declarations unwrapped. How would I get the private ...
Mikhail T.'s user avatar
  • 4,256
1 vote
0 answers
190 views

I have recently switched to Neovim from Sublime Text. I mostly make edits in my code using mouse in insert mode, as I don't have enough practice of keyboard. When I press enter to move to new line, ...
Atharva Gulve's user avatar
0 votes
0 answers
105 views

I'm using VS Code on Nobara Linux (a Fedora-based distro) and working with the Go programming language. When I type the following and press Enter after import(: import(⏎) The result I get is: import( )...
Benjamin Tardivo's user avatar
1 vote
1 answer
88 views

I'm using Emacs, and I have a macro that's like a switch for regexes, and runs an expression with variables bound to match results. The indentation isn't what I'd like but I can't find if there's a ...
John Graham's user avatar
2 votes
1 answer
104 views

In C++, I always align parameters on the open bracket (using clang-format). When I press the Enter key after that, the cursor always jumps to align with the indentation of the previous line by 4 ...
Fennecs Huang's user avatar
1 vote
2 answers
84 views

Problem VSCode applyes wrong indentation to Powershell code that is multiline, so the inline code doesn't follow the indentation hierarchy he's in, but instead goes all the way to the left as shown in ...
alexis19apl's user avatar
0 votes
0 answers
80 views

I have a paragraph, which is stored in a string. This string needs to be formatted as like below via VBA code and there by it is inserted in the document. Now I am stuck at the formatting stage, and ...
Puneeth's user avatar
  • 471
1 vote
1 answer
139 views

I'm trying to parse data in the following format: data = """\ map=1 sub=1 int=99 foo=bar sub=2 foo=bar int=99 bar=qux """ I based my grammar on ...
Soós Péter Levente's user avatar
3 votes
2 answers
201 views

I have a Python source file with some dummy code: a = 3 if a == 1: print("a = 1") elif a == 2: print("a = 2") else: print("Other") When I submit the code to ...
PingPong's user avatar
  • 1,037

15 30 50 per page
1
2 3 4 5
219