Am I the weird one that just uses jetbrains for everything?
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I do too. Nvim for text editing, vs code for the occasional one/two file script, jetbrains for anything more extensive
IntelliJ for Java and Rider for C#. VSCode for everything else.
Nope - that's exactly my workflow too.
- Code in VSCodium
- Code in Kate to keep thing fresh
- Code in Nvim because I still need to learn it
- Cry while debbuging a React app because the error messages aren't very good
- Wish I were working with Svelte or had enough backend experience to switch to being a backend dev
- Play with terminal configs and shell scripting to distract myself from my woes
- Rinse and repeat.
Aside from the (not so much) jokes, give VSCodium a try, it's to VSCode what Chromium is to Chrome, and works just as well.
I'm an old school emacs guy, I prefer that for c++/python/etc and run KDE Neon because I like KDE and I'm used to ubuntu (and Kubuntu has some issues). For c++ I use CMake, google test. Not really a fan of docker etc. but I have used Kubernetes and docker in the past. Those types of containers just create new and more complicated problems than just testing on the target platform, but in some niche cases it can be useful.
I can't stress enough how awesome emacs is, but it takes a serious investment to get efficient with it.
emacs with magit and meow are just amazing efficiency add-ons to my workflow. when your tools just get out of your way and keep you in the flow, it's much easier to stay productive.
How long did it take you to get comfortable with emacs? I have it installed on my work laptop, but it was daunting to use when everything was new to me.
I can't use containers with my target platform since I only have 64Mb of qspi flash and 512Mb of Ram. So it's baremetal for me, but i'm used to that.
- Code in Emacs
- Create a Nix Flake for building my Environment
- Build with whatever buildsystem the language requires, often Stack or Cargo
- Package for nixpkgs
Tmux + nvim for editing code and bspwm for a fully keyboard only workflow. I have some keybinds in tmux to open a new pane and run cargo or whatever command is necessary to run the code.
Transfer the app through scp [...]
I use an ad-hoc while loop in a shell with inotifywait
to wait for changes in the watched directory and then scp
it.
That's clever. I'm not used to shell scripting yet, but I really like that it is easy to automate things in Linux. If you can run it in terminal, you can script it.
arch with vsc or jetbrains
Neovim for me. There are so many plugins to make the editor behave exactly as you want.
I work with backend web development, so running code could not be any easier, normally there's a docker image setup watch for changes, recompile and execute.
My text editor is Kakoune, after learning the keybindings I just cannot go back to vim or vscode, selection based editing just makes so much sense to me.
I use NixOS, which comes in handy for keeping my home and office computers in-sync. I also use nix shells to declare the tools necessary to develop each project.
As for window management I use sway, one big window for kakoune to the left, other terminals for docker/tests/git to the right.
I'm also running Ubuntu as my main machine at home. (I have a Mac and do Android development for my day job).
But at home, I do a lot of website and backend dev.
- Code in VSCode
- Build using
docker buildx
- Test using a local container on my machine
- Upload the tested code to a feature brach on git (self hosted server)
- Download that same feature branch on a RaspberryPi for QA testing.
- Merge that same code to develop 6a. That kicks off a CI build that deploys a set of docker images to DockerHub.
- Merge that to main/master.
- That kicks off another CI build.
- SSH into my prod machine and run
docker compose up -d
- Setup my vimrc.
- Clone the project, and realize that whatever repo managing system they started using 3 years ago requires setup steps not in the README and breaks everything at the slightest touch.
- Build the currently relevant project in whatever build system they started using 3 years ago (CMake is quite nice).
- Fix my vimrc to be compliant with whatever tabbing they use.
- Realize that for some reason, someone made a commit in the file I'm reading that uses 3 space tabs. And worse, someone approved that PR.
- Make changes via vim.
- Debug via print because setting up gdb or JTAG on embedded systems is usually more effort than its worth.
- Realize it's a timing issue and reluctantly go find the JTAG debugger.
It's funny how the JTAG debugger should be the first thing that we use, but just like you, I don't want to use it until really necessary.
But the moment I setup everything, then I wonder why I've waited so long to do the setup haha.
I'm the only Sublime Text guy here, I guess. Mostly with extensions for formatting, linting, and detecting compilation/type errors. I work with all kinds of languages, mostly interpreted. Python, Rust, Bash, JS/Typescript, Solidity, and a smidge of others so it's hard to pin down one workflow.
EDIT: Just wanted to add that it's really cool to see the diversity in the replies. This here is the power of Linux.
I mainly use Python, so my workflow is the same on every OS: Neovim and a shell, usually one of each in a vertical split. This transfers nicely to remote SSH sessions too, and even works in Termux on my phone!
Have you investigated whether it's possible to test your cross-compiled builds in Qemu, rather than copying them to the host?
Hobbyist programmer. When I switched to Linux, I started using the Atom editor for typing out my JavaScript projects (mostly Electron apps). Now I use Pulsar, because Atom development was cancelled.
https://github.com/pulsar-edit/pulsar
I also find nvm to be helpful for installing and using Node in the terminal.
I use helix on NixOS. I have the most basic setup for c(++):
- edit with helix
- write custom makefiles with a script I made
- test the program with the makefile
- debug with cout or printf
I mostly program in Rust and my main editor is VSCodium with the NeoVim extension but lately I've been experimenting with Alacritty + Tmux + Helix and I'm starting to like it quite a bit.
I vehemently dislike coding directly on my workstation and do all of my development in remote VMs via SSH, when possible. My work MBP is a glorified SSH terminal with a web browser. I got my start in the industry with remote SysAdmin stuff so, it feels pretty natural.
For an IDE, I use Neovim, currently with a plugin distribution - Neovim because I got used to the vim syntax as a SysAdmin and the distribution because I can't justify sinking more time into tuning my env for a bit but am intending to scrap it all around the holidays or so.
Most of my work is in Go or Python. At home, it's a mix of CircuitPython, C, and I'm picking up some Rust (mainly embedded for C and Rust). Will be starting to learn Verilog this weekend.
For Go and Python, I tend to lean towards a TDD approach, even if it gets a bit derided by coding streamers.
My workflow tends to be:
- Prototype desired functionality to get at least individual parts working.
- Start from scratch and rough out any classes/structs and test suite boilerplate.
- Start the red->green->refactor loop, giving extra granularity to parts of code that I am less confident in.
- Once all intended functionality is implemented, run manual tests (I generally develop tools).
- Fix bugs that unit tests failed to prevent or I failed to anticipate.
- Repeat 4 and 5 until acceptable.
- Prepare commit.
- Push commit and receive failure because I haven't fully configured my formatters to clean trailing whitespace and VT100-compatible line lengths.
- Push commit again and send for code review.
Currently, my build automation is kinda in CMake. Really, the Makefile is just calling a build in a docker container.
For C, Rust, and Verilog, I'm not yet familiar enough to have yet established workflows.
ETA: I think I just got the same FPGA as you! Xilinx Zync-7020 (Digilent Arty Z7-20).
Rust and C development mainly with a bit of assembly language sometimes:
- Debian Stable with Xfce
distrobox
withpodman
for containersxfce4-terminal
withtmux
vim
with plugins (coc.nvim, delimitMate, NERDTree etc)
when you start xfce, it start with tmux?
when you start xfce, it start with tmux?
No. I use tmux only inside the distrobox / podman dev container (which is also Debian 12 Stable). I like a more conventional DE for non-dev related usage of the computer. If I wanted a totally tmux-like or terminal-based environment I would go with i3, but that is not something I prefer for my desktop usage for non-coding activities.
I'm running Docker in Windows and have a mounted drive. I code in VSC using that mounted folder / volume, and the page shows up on localhost. Just a few simple apps to convert fixed width to csv's and back and gives analytics on the data using jStat and tables with dataTables. Nothing fancy, but I like it.
Edit: httpd 2.4 as the Docker container.
C and Lisp:
st -terminal
tmux -workspaces
vim -editor
vim-fugitive -git UI
make -did not require more power yet.
everything vanilla except some custom lines to have vim and tmux share the same pane/window navigation keys.
Chad stack
My workflow is: my neovim config is - at last - nearly perfect, quickly configurable for many languages on the go, nevertheless I don't code because when I get home from work I have barely the energy to play for half an hour.
$mod+enter vim enter Ctrl+p [type a part of the name of the file I want] O [write code]
Java dev, running opensuse Tumbleweed with KDE.
IntelliJ IDEA, maven, git, postman
Kate for quick edits and note taking works very well
Konsole is my terminal of choice
Teams for Linux because I have to
docker on the command line because there's no docker desktop for Linux. There is for windows and MacOS tho, although Linux is literally the thing where it runs on the kernel and whose concepts the whole thing is based upon. Fuck them.
Kind of sad to see still lack (for Linux in general) of apps that are often used in companies. E.g. Teams and docker desktop
Teams for Linux sucks and is not maintained anymore. Devs recommend using the web app and this is what I'm using in Chrome, works really well. Otherwise I'm also on Tumbleweed KDE :)
Neovim. I work in devops so it's terraform, ansible and aws cli right now... No need to compile anything or build anything. It's quite nice and simple. :)
The ability to do everything with shortcuts and no mouse means i get into a certain flow feeling that is really nice. When I need to web search, I use the mouse however. I don't like the vim like plugins for the browser. The mouse is way faster there.
I mainly write C. I really like Intellij Clion because it uses CMake as project files. It also makes tools like valgrind, perf and gdb available without having to go to the terminal.
i3wm/sway - lets me navigate windows with vim-like keyboard motions Neovim - best power editor, hands down. But it takes a bit of tweaking. Tmux - lets me have multiple terminals up in one window. Make/CMake/whatever the project uses. I also write scripts for anything that causes friction which can be automated. Vimium/VimiumFF in the browser - lets me navigate most webpages with just the keyboard.
I mostly write rust now, but this workflow was finetuned over years. Use 2 terminals each on a diferent monitor, one runs neovim and the other is for building/running. If the project is a bit more complex, I will run it in a docker container( maybe mount the /etc/shadow and frieds so all artefacts are created using the same user as in the outside) . Developed a bunch of tools over the years to optimise this:
- a 'package manager' in bash so I have a folder for each project/context. One for work, one common, one for the server stuff like this. All are in PATH.
- parterm - remote control for the terminal so i can start a build from neovim in a different terminal.
- 'ndock' - at work I use a bunch of branches, this script will set up a few envs and then start a docker in a folder coresponding to that branch.
At my old job had to work on a remote vm so I setup sshfs for a while, but was slow and just moved all my tools there.
I have a pattern where i put all my projects in ~/dev/<branch> and all info related to a task in ~/dev//bugs/<issue_nr>. This is usefull because I can have scripts the work similar for different projects with small changes. For example to run my binary with the config for a issue i just do
ndock <branch>
nr <issue nr>
This will start docker or connect to an existing one for that branch if available, compile the code, run my binary with the config present in the bug folder. In the last few month started running it with rr to be sure i can debug any random issue.
Like many others I also use NeoVim, but it was quite a bit of learning curve before you get comfortable with it. And you really have to go all in and learn at least the basics, if you try to use it like a normal text editor thinking you'll learn commands as you go along then you're going to hate it.
In addition to having to learn how to use vim, you also need a good configuration and probably some plugins if you want to use it as an IDE. Personally I use fzf, coc, vim-dirvish, lightline, lightline-bufferline and papercolor-theme.
- Code in Nvim
- At work we build using shell scripts, for personal stuff it's usually Make
- At work, deploy with Jenkins to Kubernetes or through Puppet to real/vm hosts. a. At home, I use Ansible 99% of the time
- Debugging?
Code in VSCode
UI in QT Creator
Build with qmake
Commit with git
Push to GitLab
Run jobs with gitlab-runner
Deploy AppImage, deb, rpm builds with Docker
- Sublime Text.
- Whatever build toolchain of the current thing I'm using.
I use Geany, so that's basically my whole workflow.