Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › lightweight code editor for Antix 22
Tagged: vim linter
- This topic has 10 replies, 7 voices, and was last updated Dec 27-8:27 pm by Brian Masinick.
-
AuthorPosts
-
December 26, 2022 at 6:07 pm #96185Member
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, 2 weeks ago by MAKCNM_0709.
- This topic was modified 4 months, 2 weeks ago by MAKCNM_0709.
December 26, 2022 at 6:20 pm #96188MemberPPC
::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.
December 26, 2022 at 6:30 pm #96189MemberMAKCNM_0709
::Hey @PPC. I would like to have autocomplete and syntax highlighting
P.S Just added to post
- This reply was modified 4 months, 2 weeks ago by MAKCNM_0709.
December 26, 2022 at 6:46 pm #96192Forum Admin
anticapitalista
::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 emulationhttps://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.
December 26, 2022 at 6:47 pm #96193Member
techore
::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://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, 2 weeks ago by techore.
December 26, 2022 at 7:00 pm #96197MemberMAKCNM_0709
December 26, 2022 at 7:59 pm #96205Moderator
Brian Masinick
::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 MasinickDecember 26, 2022 at 10:59 pm #96212Member
iznit
::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.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.
December 27, 2022 at 7:54 am #96234Member
sybok
::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.December 27, 2022 at 7:29 pm #96267Moderator
Brian Masinick
::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 MasinickDecember 27, 2022 at 8:27 pm #96269Moderator
Brian Masinick
::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 -
AuthorPosts
- You must be logged in to reply to this topic.