lightweight code editor for Antix 22

Forum Forums Official Releases antiX-21/22 “Grup Yorum” lightweight code editor for Antix 22

Tagged: 

  • This topic has 10 replies, 7 voices, and was last updated Dec 27-8:27 pm by Brian Masinick.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #96185
    Member
    MAKCNM_0709

      Hi all. I warn you right away, English is not my native language, so the text is translated using machine translation. Okay, let’s get to my question. Can you suggest a lightweight code editor (console is best). Will be used for Vue.js development
      Features I would like to see:
      1) Code completion
      2) And syntax highlighting
      Thanks in advance for your time and my apologies if I posted this question in the wrong category
      —-Next comes the original text in Russian———–
      Всем привет. Сразу предупреждаю, английский не мой родной язык, поэтому текст переведен с помощью машинного перевода. Хорошо, давайте перейдем к моему вопросу. Можете ли вы предложить легкий редактор кода (консольный лучше всего). Будет использоваться для разработки на Vue.js
      Функцыии которые хотелось бы видеть:
      1) Автодополнение кода
      2) И подсветка синтаксиса
      Заранее спасибо за ваше время и мои извинения, если я отправил этот вопрос в неправильную категорию

      • This topic was modified 4 months, 1 week ago by MAKCNM_0709.
      • This topic was modified 4 months, 1 week ago by MAKCNM_0709.
      #96188
      Member
      PPC
        Helpful
        Up
        1
        ::

        Hi and Welcome to antiX!
        You can use, with Graphic User Interface – our default editor – Geany. antix does come with “vi”, for the terminal. Will that be sufficient for your needs?

        P.

        #96189
        Member
        MAKCNM_0709
          Helpful
          Up
          0
          ::

          Hey @PPC. I would like to have autocomplete and syntax highlighting

          P.S Just added to post

          • This reply was modified 4 months, 1 week ago by MAKCNM_0709.
          #96192
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::
            The basic features of Geany are:
            
             - syntax highlighting
             - code completion
             - auto completion of constructs like if, for and while, XML and HTML
             - call tips
             - folding
             - many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
             - symbol lists
             - embedded terminal emulation

            https://packages.debian.org/bullseye/geany

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #96193
            Member
            techore
              Helpful
              Up
              1
              ::

              Personally, I would recommend vim or nvim. However, it will take time to configure it to your liking.

              I use nvim and there are nvim plugins that may meet your needs.

              https://neovim.io/

              https://github.com/neoclide/coc.nvim

              https://github.com/neoclide/coc-vetur

              Geany is an awesome editor, too, but you were requesting a console based editor thus my recommendation for nvim.

              • This reply was modified 4 months, 1 week ago by techore.
              #96197
              Member
              MAKCNM_0709
                Helpful
                Up
                0
                ::

                Huge thanks to @anticapitalista and @techore
                I will try Geany and nvim

                #96205
                Moderator
                Brian Masinick
                  Helpful
                  Up
                  1
                  ::

                  All of the editors mentioned are fine; here’s another one that is fast, moderate in size, easy to customize, and I checked it out with a few different file types, and it’s very good at recognizing file types and formatting and coloring items accordingly; it’s called micro:

                  https://micro-editor.github.io/about.html

                  --
                  Brian Masinick

                  #96212
                  Member
                  iznit
                    Helpful
                    Up
                    0
                    ::

                    Unfortunately, your code completion spec does conflict with the requirement for it to be lightweight.

                    https://vue-community.org/guide/ecosystem/editors-and-tools.html
                    One of the tools recommended by vue-community, called “CodeSandbox”, might fit your needs.

                    https://codesandbox.io/

                    CodeSandbox is an online, cloud based code editor, that supports Vue’s SFC format, among many other frameworks, popular client apps and server setups. Vue projects are built with Vue CLI, giving you a well known folder structure to extend upon.

                    Based on VSCode, CodeSandbox has a similar look and feel. When you create a Vue project, you will benefit from code completion, hinting, syntax highlighting and more. It even allows you to connect a sandbox to a Github repo and commit to it on each change. Apart from Vue CLI, they have templates for Vuepress and Nuxt, just to name a few.

                    CodeSandbox has a very generous freemium policy with 50 active sandboxes (projects) absolutely free.

                    #96234
                    Member
                    sybok
                      Helpful
                      Up
                      1
                      ::

                      If you wish it to be light-weight, you may consider trying ‘vim’ (with syntax highlight, which really rarely gets messed up and you need to scroll a few pages up/down) and use the plugin ‘ale’.
                      https://www.vim.org/scripts/script.php?script_id=5449
                      Disclaimer: Personally, I found the “pop-up” suggestions annoying and did not get used to them and hence I did not test ‘ale’ in detail.

                      #96267
                      Moderator
                      Brian Masinick
                        Helpful
                        Up
                        1
                        ::

                        NOTE: IF you set your TERM variable in .bashrc to ansi (export TERM=ansi) OR you explicitly enter TERM=ansi nano “your file”, it will display syntax highlighted text, which is a feature you want. Same with micro, vim, geany, and other editors that support color.

                        --
                        Brian Masinick

                        #96269
                        Moderator
                        Brian Masinick
                          Helpful
                          Up
                          0
                          ::

                          export TERM=xterm-256color also works to set colors visible in the shell and in command line text editors; once again, the TERM=xterm-256color nano “your file” also works.

                          --
                          Brian Masinick

                        Viewing 11 posts - 1 through 11 (of 11 total)
                        • You must be logged in to reply to this topic.