Best C and assembly editor

Page 3/5
1 | 2 | | 4 | 5

By ducasp

Paladin (677)

ducasp's picture

04-06-2019, 01:18

I'm mostly using Notepad++ and .bat scripts to compile ASM projects (using sjasm or glass).

For SDCC, I like to use Codeblocks, it is free, it supports SDCC and it is easy to create projects. But, it is a little bit slow to load.

By Grauw

Ascended (10706)

Grauw's picture

10-08-2019, 03:04

I’m evaluating Visual Studio Code by the way… Takes some getting used to, not in the least of which to learn to click on the correct icon in the dock Smile. But it’s a nice editor. They clearly have their own take on things that’s rather unique from other more traditional IDEs. I’m also using it at work as of last week (instead of the original Visual Studio), just to get a bit more experience with it.

Some things I like:

It is nice and responsive, boots up quick and many things update instantly such as search results when I change files on the OS. It also looks good and I found a nice broken-white colour scheme which is easy on my eyes (Solarized Light).

The multi-cursor works well too (I wish I could alt-click on selection highlights to add it to the selection, ctrl-d does something like it but not quite), Eclipse’s implementation of that is just “not quite”. The miniature code map in the scroll bar is also nice, something I’m used to from its big brother, and although Eclipse has something similar it again doesn’t quite work there.

I also feel like it’ll also be easier for me to extend with some of my own tooling.

Some things I don’t like so much:

In some ways it is very command line-ey, starting commands from a text command line. It would’ve been nicer if it was a bit more menu dialog-driven, although over time I will probably get more used to it as I memorize things. Similarly the settings can be hard to navigate, it being just a list of options rather than something organized somewhat logically in panels.

The outline shares space with the file explorer in the sidebar, and when I have both opened at the same time both of them get rather small and aren’t comfortable to use. I wish I could separate it out and dock it to the right side of the screen. Similar story for Open Editors, but that seems uselessly repeating the tabs so I just keep it closed. In general it’s just quite rigid in its layout.

The suggestions sometimes get in my way, auto-completing something I didn’t intend. I hope I’ll just get used to it and learn how to avoid it doing that by not pressing enter when it pops up a suggestion or something.

The white space characters can only be either shown or not shown. I had configured Eclipse so that it only showed trailing white space, leading spaces and in-between tabs. This reduced visual noise while showing me the ones I want to know about.

Things that are just different:

Not being bound to a workspace that needs to be configured makes it a little quicker to set up a new project or open some source code that I downloaded, although it doesn’t really change much in the end. I end up working a little more from the Mac’s own Finder explorer and with multiple windows, it’s different but not necessarily bad.

By DarkSchneider

Paladin (981)

DarkSchneider's picture

10-08-2019, 10:49

MS tools are nice once you configured them.

But, Notepad++ and batch files are a good option too. The size of MSX projects fits well into that combo.

By Grauw

Ascended (10706)

Grauw's picture

10-08-2019, 14:15

I agree. That’s also what I’ve done for a long time in the past (with Notepad2). Especially if you’re just getting started with MSX programming, learning MSX and Z80 assembly programming at the same time as getting used to a tool like VS Code may be a bit much.

By theNestruo

Champion (413)

theNestruo's picture

10-08-2019, 15:09

For me, Notepad++ is better than VSCode because of lower memory consumption and performance (most noticeable on underpowered netbooks) and crisper & clearer font rendering, but I find cumbersome working with multiple files at the same time in Notepad++.
On the other hand, I feel VSCode is better than Notepad++ at file management and navigating through the files, and its UI for search & replace in multiple files is great. But fonts are slightly more blurry, and the autocompletion feature feels intrusive when coding ASM.
I don't care much about "tasks" integration (for me its almost the same to hit CTRL+SHIFT+B than ALT+TAB to a command line, then UP then ENTER to repeat the last build command), but other people may disagree about the importance of this.

I keep both at work, and use the one that fits better what I'm doing (quickly editing a single file? exploring a folder of code?)

By DarkSchneider

Paladin (981)

DarkSchneider's picture

10-08-2019, 16:50

theNestruo wrote:

But fonts are slightly more blurry

Try to configure the Consolas as font. I have already installed in my Win10 so maybe is included. I remember that when VS changed to ClearType technology there was problems concerning font rendering, and the solution was to use the Consolas font, that is a ClearType font type, that if I remember well, it changes the sub-pixel handling to target LCD display technology specific. There was even a downloadable pack for those versions (VS 2005 and 2008).

By Richard Shankard

Supporter (9)

Richard Shankard's picture

12-08-2019, 10:01

I pretty much figured that nothing I do is going to be professional so I went with the minimal approach and it works fine.

Notepad++ and TNIASM.

Compile then drag and drop on the TNIASM executable.

I've seen some people compile then boot up the emulator bla bla bla.

This takes 2 seconds and your done.
The only down side is sometimes you have error tracking issues.

By karloch

Prophet (2159)

karloch's picture

12-08-2019, 11:44

Thumbs up for Visual Studio Code unless your machine is short of RAM, as it will take easly ~300 MB just for starting, typical of Electron apps. Regardless of RAM consumption, performance is outstanding.

By Grauw

Ascended (10706)

Grauw's picture

12-08-2019, 12:19

Grauw wrote:

The white space characters can only be either shown or not shown. I had configured Eclipse so that it only showed trailing white space, leading spaces and in-between tabs. This reduced visual noise while showing me the ones I want to know about.

And this month’s update added an option to show white space markers in selected text. Perfect, it’s not exactly the same, but I can work with that!

That’s another thing I like about Visual Studio code, updates are frequent and they are improving all the time, so something that may be an issue for me now may not be anymore the next moth.

By jseb

Resident (34)

jseb's picture

12-08-2019, 13:51

Am I the only one using Vim (neovim in fact) ?

Page 3/5
1 | 2 | | 4 | 5