aliens

Author Topic: linux text editor for ruleset  (Read 123 times)

Offline robin

  • Commander
  • *****
  • Posts: 1264
  • ULTIMATE ROOKIE
    • View Profile
linux text editor for ruleset
« on: May 04, 2025, 02:04:49 pm »
What text editor do you suggest to use on Linux for ruleset editing?
On windows I use Notepad++ which is basically perfect for the purpose.
I'm trying Geany but the YAML syntax highlight is not as good; also it does not seem to have the nice ALT keyboard shortcuts to collapse levels.
(I guess I could try to install Npp using Wine, but this would be the last resort.)
Thanks

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9543
    • View Profile
Re: linux text editor for ruleset
« Reply #1 on: May 04, 2025, 02:18:12 pm »
VSCode

Offline Buscher

  • Colonel
  • ****
  • Posts: 187
    • View Profile
Re: linux text editor for ruleset
« Reply #2 on: May 04, 2025, 07:06:27 pm »
VSCode

This.

Visual Studio Code together with
- OpenXcom Ruleset Tools
- YAML
- Linter
is a strong combination to reduce the amount of errors without having to start the game.

You can also try Pedro's VSCode OpenXcom Modding Tools
For the above mentioned linter I am using this configuration for yamllint which you can also use in a Github/Codeberg Workflow.

Offline R1dO

  • Colonel
  • ****
  • Posts: 444
    • View Profile
Re: linux text editor for ruleset
« Reply #3 on: May 04, 2025, 10:09:46 pm »
As a fellow Linux (and occasionally `geany`) user I wholeheartedly agree with the recommendation by the other posters.

`VSCode` gets the job done.

As for the recommendations from Buscher.
I can only vouch for the "OpenXcom Ruleset Tools" and "yaml (by redhat)" links. Those work like a charm.
For the others I have no experience with them, so I refrain from any 'advisory'.