ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Looking at Atom and VS Code

    Scheduled Pinned Locked Moved IT Discussion
    26 Posts 5 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stacksofplatesS
      stacksofplates
      last edited by

      The VSCode settings are all in the settings section. Depending on the extension, some don't have a gui part, so you just modify it in the settings.json file.

      As for the line movement, I've never had it jump to the end of the line. Arrowing up and down stays in place unless there is a break where it can't and then it will jump to that position.

      1 1 Reply Last reply Reply Quote 0
      • stacksofplatesS
        stacksofplates
        last edited by

        As for ctrl+<-/-> just modify the keybindings. Here's an answer for that specific command.

        https://github.com/microsoft/vscode/issues/34457

        1 1 Reply Last reply Reply Quote 0
        • 1
          1337 @stacksofplates
          last edited by 1337

          @stacksofplates said in Looking at Atom and VS Code:

          Arrowing up and down stays in place unless there is a break where it can't and then it will jump to that position.

          That's the part that I don't want. Almost all code editors has a setting for this. There is just no standardized name for it AFAIK.

          stacksofplatesS 1 Reply Last reply Reply Quote 0
          • 1
            1337 @stacksofplates
            last edited by

            @stacksofplates said in Looking at Atom and VS Code:

            As for ctrl+<-/-> just modify the keybindings. Here's an answer for that specific command.

            https://github.com/microsoft/vscode/issues/34457

            Great thanks. Too bad it's not just a simple setting.

            stacksofplatesS 1 Reply Last reply Reply Quote 0
            • stacksofplatesS
              stacksofplates @1337
              last edited by

              @Pete-S said in Looking at Atom and VS Code:

              @stacksofplates said in Looking at Atom and VS Code:

              Arrowing up and down stays in place unless there is a break where it can't and then it will jump to that position.

              That's the part that I don't want. Almost all code editors has a setting for this.

              Can you give an example of one that does? Idk how that's possible if the line above doesn't have an element in that column how it could stay in that column?

              1 2 Replies Last reply Reply Quote 0
              • 1
                1337 @stacksofplates
                last edited by

                @stacksofplates said in Looking at Atom and VS Code:

                @Pete-S said in Looking at Atom and VS Code:

                @stacksofplates said in Looking at Atom and VS Code:

                Arrowing up and down stays in place unless there is a break where it can't and then it will jump to that position.

                That's the part that I don't want. Almost all code editors has a setting for this.

                Can you give an example of one that does? Idk how that's possible if the line above doesn't have an element in that column how it could stay in that column?

                alt text

                1 Reply Last reply Reply Quote 0
                • 1
                  1337 @stacksofplates
                  last edited by

                  @stacksofplates said in Looking at Atom and VS Code:

                  @Pete-S said in Looking at Atom and VS Code:

                  @stacksofplates said in Looking at Atom and VS Code:

                  Arrowing up and down stays in place unless there is a break where it can't and then it will jump to that position.

                  That's the part that I don't want. Almost all code editors has a setting for this.

                  Can you give an example of one that does? Idk how that's possible if the line above doesn't have an element in that column how it could stay in that column?

                  I found this when searching for what it's called in different editors.
                  It's called "virtual space" in VS (Visual Studio).
                  https://github.com/microsoft/vscode/issues/13960

                  1 Reply Last reply Reply Quote 0
                  • stacksofplatesS
                    stacksofplates
                    last edited by

                    Interesting. Not something I've ever even thought of. I pretty much enable vim mode on everything I use so I've never thought to try something like that.

                    1 1 Reply Last reply Reply Quote 0
                    • stacksofplatesS
                      stacksofplates @1337
                      last edited by

                      @Pete-S said in Looking at Atom and VS Code:

                      @stacksofplates said in Looking at Atom and VS Code:

                      As for ctrl+<-/-> just modify the keybindings. Here's an answer for that specific command.

                      https://github.com/microsoft/vscode/issues/34457

                      Great thanks. Too bad it's not just a simple setting.

                      Having the settings in JSON like that is nice because it's easy to back up. There's an extension that syncas all of your extensions and settings to a gist in GitHub.

                      I still use VSCode a good bit but most of my stuff is done in JetBrains tools now.

                      1 ObsolesceO 2 Replies Last reply Reply Quote 0
                      • 1
                        1337 @stacksofplates
                        last edited by 1337

                        @stacksofplates said in Looking at Atom and VS Code:

                        Interesting. Not something I've ever even thought of. I pretty much enable vim mode on everything I use so I've never thought to try something like that.

                        It's one of those things that's a deal breaker if you are used to it.
                        It's nothing new, it's been around forever.

                        In vim it's the virtualedit=all setting. It's called "cursor beyond EOL" in some editors. In some editors it was the default mode.

                        Had a look and JetBrains has it too. Under "Virtual Space" there are a couple of settings.

                        It sure seems like VS Code and Atom are not as versatile as I thought, since to me this is a pretty basic feature.

                        stacksofplatesS 1 Reply Last reply Reply Quote 0
                        • 1
                          1337 @stacksofplates
                          last edited by

                          @stacksofplates said in Looking at Atom and VS Code:

                          @Pete-S said in Looking at Atom and VS Code:

                          @stacksofplates said in Looking at Atom and VS Code:

                          As for ctrl+<-/-> just modify the keybindings. Here's an answer for that specific command.

                          https://github.com/microsoft/vscode/issues/34457

                          Great thanks. Too bad it's not just a simple setting.

                          Having the settings in JSON like that is nice because it's easy to back up. There's an extension that syncas all of your extensions and settings to a gist in GitHub.

                          I still use VSCode a good bit but most of my stuff is done in JetBrains tools now.

                          Had a look at that feature in the JetBrains editors too and they have a simple setting to select the behavior you want.

                          1 Reply Last reply Reply Quote 0
                          • stacksofplatesS
                            stacksofplates @1337
                            last edited by

                            @Pete-S said in Looking at Atom and VS Code:

                            It sure seems like VS Code and Atom are not as versatile as I thought, since to me this is a pretty basic feature

                            I'm assuming it's an underlying limitation of Electron since both are built on that.

                            1 Reply Last reply Reply Quote 0
                            • stacksofplatesS
                              stacksofplates
                              last edited by

                              Saying they aren't versatile because of that one feature seems a little disingenuous. I'm sure if it was a simple thing to add or more people wanted it, it would be there.

                              1 1 Reply Last reply Reply Quote 0
                              • 1
                                1337 @stacksofplates
                                last edited by 1337

                                @stacksofplates said in Looking at Atom and VS Code:

                                Saying they aren't versatile because of that one feature seems a little disingenuous. I'm sure if it was a simple thing to add or more people wanted it, it would be there.

                                I don't think it's disingenuous at all, not if the primary purpose is an editor for developers.
                                You'd expect a good deal of customization for something like that. That is what versatility is.

                                It's really a common basic feature. Just to name a few - VS has it, vim has it, JetBrain have it, Notepad++ has it, CodeLite has it etc. If people didn't ask for it, nobody would have it.

                                But for sure, VS Code and Atom may be versatile in other areas - besides the actual code editing.

                                stacksofplatesS 1 Reply Last reply Reply Quote 0
                                • stacksofplatesS
                                  stacksofplates @1337
                                  last edited by

                                  @Pete-S said in Looking at Atom and VS Code:

                                  @stacksofplates said in Looking at Atom and VS Code:

                                  Saying they aren't versatile because of that one feature seems a little disingenuous. I'm sure if it was a simple thing to add or more people wanted it, it would be there.

                                  I don't think it's disingenuous at all, not if the primary purpose is an editor for developers.
                                  You'd expect a good deal of customization for something like that. That is what versatility is.

                                  It's really a common basic feature. Just to name a few - VS has it, vim has it, JetBrain have it, Notepad++ has it, CodeLite has it etc. If people didn't ask for it, nobody would have it.

                                  But for sure, VS Code and Atom may be versatile in other areas - besides the actual code editing.

                                  Yes it's still disengenuous. I know quite a few people that use VSCode as their full time IDE/editor and this is literally the first time I've heard this complaint.

                                  Yes versatile in other areas like having a functioning debugger, live share, containerizing the whole dev environment, really decent git integration, decent built in terminal, etc. All things developers care about.

                                  The tools still have more than "a good deal of customization".

                                  This is like saying a mercedes isn't a good car because it doesn't have a heated steering wheel.

                                  1 Reply Last reply Reply Quote 0
                                  • stacksofplatesS
                                    stacksofplates
                                    last edited by stacksofplates

                                    line.gif

                                    snaps back to the correct place in Vim mode :man_shrugging:

                                    ObsolesceO 1 Reply Last reply Reply Quote 0
                                    • ObsolesceO
                                      Obsolesce @stacksofplates
                                      last edited by

                                      @stacksofplates said in Looking at Atom and VS Code:

                                      @Pete-S said in Looking at Atom and VS Code:

                                      @stacksofplates said in Looking at Atom and VS Code:

                                      As for ctrl+<-/-> just modify the keybindings. Here's an answer for that specific command.

                                      https://github.com/microsoft/vscode/issues/34457

                                      Great thanks. Too bad it's not just a simple setting.

                                      Having the settings in JSON like that is nice because it's easy to back up. There's an extension that syncas all of your extensions and settings to a gist in GitHub.

                                      I still use VSCode a good bit but most of my stuff is done in JetBrains tools now.

                                      Sync is built in to VSCode for a bit now.

                                      stacksofplatesS 1 Reply Last reply Reply Quote 0
                                      • ObsolesceO
                                        Obsolesce @stacksofplates
                                        last edited by Obsolesce

                                        @stacksofplates said in Looking at Atom and VS Code:

                                        line.gif

                                        snaps back to the correct place in Vim mode :man_shrugging:

                                        It does by default.

                                        I've never come across a need for virtual space. If I don't have anything written on a line, I wouldn't need a line comment there?

                                        I've always used comment blocks or comments above.

                                        I don't like when comments are on the same line as your code, following the code. It's just so messy looking, and from what I've seen, is not best practice.

                                        stacksofplatesS 1 2 Replies Last reply Reply Quote 0
                                        • stacksofplatesS
                                          stacksofplates @Obsolesce
                                          last edited by

                                          @Obsolesce said in Looking at Atom and VS Code:

                                          I've never come across a need for virtual space. If I don't have anything written on a line, I wouldn't need a line comment there?

                                          I just tried it in GoLand and I don't like it. If I'm going to a line it's usually so I can edit that line. It's uncomfortable to not jump to the actual data on the line.

                                          1 Reply Last reply Reply Quote 0
                                          • stacksofplatesS
                                            stacksofplates @Obsolesce
                                            last edited by

                                            @Obsolesce said in Looking at Atom and VS Code:

                                            @stacksofplates said in Looking at Atom and VS Code:

                                            @Pete-S said in Looking at Atom and VS Code:

                                            @stacksofplates said in Looking at Atom and VS Code:

                                            As for ctrl+<-/-> just modify the keybindings. Here's an answer for that specific command.

                                            https://github.com/microsoft/vscode/issues/34457

                                            Great thanks. Too bad it's not just a simple setting.

                                            Having the settings in JSON like that is nice because it's easy to back up. There's an extension that syncas all of your extensions and settings to a gist in GitHub.

                                            I still use VSCode a good bit but most of my stuff is done in JetBrains tools now.

                                            Sync is built in to VSCode for a bit now.

                                            I haven't used it for a bit since I started using GoLand.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 2 / 2
                                            • First post
                                              Last post