0

I like aligning the code like this

test.memberName = "dough"; // Name of the Member field.
test.age = 34; // Name of the Member field.

To this:

test.memberName = "dough";  // Name of the Member field.
test.age = 34;              // Name of the Member field.

To tap my Tab key with Space. This is kind of sucks. Are there any plugins or tools for this pretty simple task?

I'm working in JetBrains IDEs and VSCode.

LazyOne
  • 158,824
  • 45
  • 388
  • 391
John
  • 33
  • 5
  • there are some **align** extensions, search the marketplace – rioV8 Feb 17 '23 at 01:36
  • 1
    don't ask for solutions for two IDEs in one question post. Split it into two question posts. make sure to search for whether the question has been asked for each one before asking. – starball Feb 17 '23 at 02:26
  • Check the **Code Style** in your JetBrains IDE -- code formatters for some languages support this (will be used on Code Reformat action). I know that PhpStorm has it for PHP for example (may depend on a specific language construct though). Other than that: check the Plugins screen, search for `align`, e.g. https://plugins.jetbrains.com/search?search=align – LazyOne Feb 17 '23 at 10:46

0 Answers0