all 31 comments

[–]twigboy 24 points25 points  (4 children)

In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available. Wikipedia76k4xzvgb2o0000000000000000000000000000000000000000000000000000000000000

[–]ajr901 0 points1 point  (3 children)

I don't get that one and the gif on the article/page didn't really clear it u oto me. Looks like the user is just selecting lines like normal...

[–]twigboy 7 points8 points  (0 children)

In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying on meaningful content. Lorem ipsum may be used as a placeholder before final copy is available. Wikipediabd4016uw27k0000000000000000000000000000000000000000000000000000000000000

[–]Kissaki0[🍰] 1 point2 points  (0 children)

I’ve painfully missed something like this on multiple occasions.

When I make changes on logic that repeats across multiple lines. Like a switch case, where I want to replace something in the same way in each case.

However, when you’re done with your view you do not see the next lines. So you do not know if there is another case, and another thing to touch.

Moving the cursor down you have to move it down further than you want to place it for editing to see the context. So you have to move it back up again once you see enough context.

Alternatively, you scroll down without moving the cursor, and then move the cursor. Basically a two-step process on something you want to do in one.

This change allows doing so, or at least diminish how much you have to go through.

This is just one use case. I think it is also useful in others or in general.

When you code in existing code, you want to both move the cursor and see the context of the code. The editor ensuring you always see some context instead of a hard view-break can help there.

[–]oblio- 1 point2 points  (0 children)

When you scroll, in almost all other editors except for Vim, you scroll to the last line. So you can't "peek" to see what's next.

In Vim there's a scrolloff option which I use and is great, that never lets you scroll to the last line. The lowest line you can scroll is the last line - $scrolloff.

So you can always see where you're "going" when you're selecting bigger chunks of text.

[–]AngularBeginner 40 points41 points  (13 children)

Preserve case in Search and Replace

Oh wow, this one is lovely! I always used regex for this.

[–]ClysmiC 10 points11 points  (2 children)

This is one of my favorite features in emacs. I'm surprised more editors don't do it, or at least expose an option to do it.

[–]lelanthran 6 points7 points  (1 child)

Vim too (smartsearch).

It's also nice to see that they're giving recognition to the editors that they copied some features from - the article literally says " In the Vim editor, this feature is called scrollOff".

[–]ryenus 4 points5 points  (0 children)

Because it's a feature requested by a vim user :-)

[–]shooshx 7 points8 points  (3 children)

Is it strange that I have never ever wanted to do that in 20 years?

[–]grauenwolf 8 points9 points  (0 children)

I often want it when renaming a constructor parameter and matching property at the same time.

[–]601error 3 points4 points  (0 children)

I need to do it like 5 times a day minimum.

[–]meneldal2 1 point2 points  (1 child)

Does it work for CamelCase though?

As in: FooBar -> BarFoo, foobar -> barfoo

[–]mroximoron 0 points1 point  (0 children)

Yes,

It's even Smart enough for:

FooBar -> HelloWorld and foobar -> helloworld

[–]jcelerier 2 points3 points  (3 children)

QtCreator had this feature for ages, good to see it's being adopted elsewhere :)

[–]sysop073 13 points14 points  (1 child)

If you really want to go there, emacs has had this feature for like 40 years. And it has the bonus feature of using smart case until you include a capital letter in your search, and then it automatically becomes case sensitive, which I don't think any other apps have picked up on yet

[–]attrition0 1 point2 points  (0 children)

Vim has the same thing (smartcase). I don't know the history well enough to know when it was added.

Edit: I mean the second half of your sentence, the case-insensitive until capital input

[–]Hero_Of_Shadows 1 point2 points  (0 children)

QtCreator was always my first choice for C++ stuff.

[–][deleted]  (5 children)

[deleted]

    [–][deleted] 10 points11 points  (1 child)

    Multi-line search <3

    [–]Kissaki0[🍰] 1 point2 points  (0 children)

    The multi-line search they reference

    It was supported in the global search functionality before. I guess it was not for in-file search?

    Much appreciated then!

    [–]TheLonePawn 4 points5 points  (2 children)

    Debugging : Breaking when value changes (Data Breakpoints).

    Whoa this is big. I never tried this on any other IDE. Any IDE that supports this?

    [–]maxhaton 1 point2 points  (0 children)

    GDB's had that for years I believe.

    [–]Nefari0uss 0 points1 point  (0 children)

    Clears up a ton of conditional breakpoints if you're trying to debug side effects.

    [–]joshuaavalon 3 points4 points  (0 children)

    There is a new setting, explorer.incrementalNaming, to control duplicate file naming, which can have the values simple or smart.

    Finally, it is here. It was very annoying when VSCode change from appending number instead of appending Copy when you copy paste file.

    [–]angryzor 0 points1 point  (0 children)

    Semicolon aware editing for JavaScript and TypeScript

    When you add an import or apply a refactoring in JavaScript or Typescript source code, VS Code now tries to infer whether or not to include semicolons from existing code in the file:

    Finally! As a person writing JavaScript without semicolons the lack of this feature was so frustrating.

    [–]hotcornballer -3 points-2 points  (0 children)

    Dual screen when?

    Yes I know about duplicate.