Skip to main content
4 votes
1 answer
150 views

I want my C++ class definitions to have access modifiers indented like below: class Foo { public: Foo(Bar bar); Foo(Bar *bar); }; Foo::Foo(Bar bar) { if () { while () { } }...
Artyom Fedosov's user avatar
-1 votes
1 answer
129 views

VS Code is auto inserting linebreaks before my curly braces. I have always used K&R style braces, and would like to use that style for C++ inside of VS Code. Does anyone know how I can configure ...
Akshay Kumar's user avatar
2 votes
1 answer
131 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
69 views

I want this kind of long parameters list to wrap automatically on saving or running formatter ctrl + k + d. And not the wrapping from Options => Text Editor => C# => General Not this: I know ...
NoName's user avatar
  • 245
1 vote
0 answers
151 views

I've been trying to get automatic code formatting working with my .editorconfig settings in Windsurf IDE for my C# codebase. I tried the Prettier extension, but found it doesn't support C#. I also ...
Martina's user avatar
  • 829
2 votes
1 answer
162 views

In my project Prettier is already connected for the project code formatting. I'm trying to use Prettier for user's code formatting in Ace Editor: import * as prettier from 'prettier'; import * as ...
user3033810's user avatar
1 vote
1 answer
163 views

I'm new to COBOL, and I'd like to understand continuation if a line is too long. I know that there is a free form, but originally (in strict mode), the line length is limited. I'd like to split the ...
FERcsI's user avatar
  • 500
1 vote
0 answers
57 views

Code: auto transs = transitions | stdv::filter([alph](const auto trns) { return trns.first == alph; }) | stdv::values | stdv::transform([](auto x) { return x; }) | stdv::as_rvalue; ...
Sourav Kannantha B's user avatar
0 votes
0 answers
54 views

I can't for the life of me figure out how to do this, if possible. When using explicit expressions as values for EventHandlers or actions on components, is there a way to define how you want them ...
Casper Thamdrup's user avatar
0 votes
0 answers
32 views

I code in C++ in Visual Studio 2022. My sources and solution/project files are in two different directories. Neither is included in the other. They're strictly separated. I put and .editorconfig file ...
Oodini's user avatar
  • 1,463
1 vote
2 answers
246 views

I am working with Pascal/Delphi code and need to format a selection of code with custom indentation rules (e.g. 4 spaces for indentation). I want to apply these formatting rules to the selected code ...
user5005768-hd's user avatar
-1 votes
1 answer
134 views

Actions on save -> checked, Reformat changed lines -> checked Optimize imports -> checked. This works excellently most of the time, but sometimes I want my own formatting to remain. I seem ...
Bogdan Pop's user avatar
0 votes
2 answers
969 views

I am using VSCode since a couple years and have recently changed computers. After installing VSCode, I came upon this issue: lets say I have a list like this: int_list = [ 1, 2, 3, 4, ] and now I ...
Nicolas Bechstedt's user avatar
0 votes
0 answers
57 views

I'm experiencing an issue where "unreachable code" in a Vue/TypeScript file is automatically deleted on save. (A pretty shocking behaviour, often I'm temporarily adding a "return false&...
Steve Bennett's user avatar
2 votes
0 answers
49 views

Suppose I have Javadoc comment with: /** * <ul> * <li>stuff</li> * <li>stuff</li> * </ul> */ When I run any of the eclipse formatting methods on ...
Harald's user avatar
  • 5,277

15 30 50 per page
1
2 3 4 5
111