A downloadable editor for Windows, macOS, and Linux

Download NowName your own price

4coder is a minimalist, cross platform, programmable, code editing environment, catering to the needs of low level programmers. It allows you to use one work flow across Windows, Linux, and Mac. The 4coder environment can be programmed with it's customization API in C++ or any other language that compiles to native binary, or that has bindings to the C-style customization API.



4coder features:

  • Built in tutorials and documentation for default bindings, making customizations, and the customization API.
  • Run shell scripts, batch scripts, makefiles, and any other system commands.
  • Parse and jump to compilation errors, string matches, printed asserts, and more.
  • Project files that setup reusable system commands and auto-load code paths.
  • Multi-stage clipboard for rapidly copying and pasting multiple items.
  • Automatic layout of wrapped lines to conform to normal code layout.

Learn the default KEYBINDINGS.

Look at the range of customizations in 4coder with the API DOCUMENTATION.

Get the most recent information about 4coder by signing up for the NEWSLETTER.

Find more by exploring the WEBSITE.

StatusReleased
CategoryTool
PlatformsWindows, macOS, Linux
Release date Dec 18, 2019
Rating
Rated 4.8 out of 5 stars
(47 total ratings)
AuthorMr. 4th
Tagseditor, programming
Code licenseBSD 2-clause 'Simplified' License
Average sessionDays or more
InputsKeyboard, Mouse
LinksHomepage, Community

Download

Download NowName your own price

Click download now to get access to the following files:

4coder-win-x64.zip 35 MB
Version 4.1.8
4coder-win-x86.zip 33 MB
Version 4.1.7
4coder-linux-x64.zip 37 MB
Version 4.1.8
4coder-linux-x86.zip 1.7 MB
Version 4.1.6
4coder-mac-x64.zip 33 MB
Version 4.1.7

Development log

Comments

Log in with itch.io to leave a comment.

(2 edits)

Cursor highlighting doesn't work? No highlight with marking or copying? Shouldn't this ship with the product to be able to see what im selecting? (v4.1.8 super!) (windows 10)

Cursor highlighting is not a feature of this editor, unlike most other editors. 4coder instead uses the marker. Any text between the cursor and the marker is "selected".

(1 edit) (+1)

Embarrassing how long it took me to notice this problem and I wanted to help others to have comment keywords to show up in different colors. When I got the 4.1.8 version, the config.4coder has "use_comment_keywords = true", which should not have that 's', so it should be "use_comment_keyword = true". I was using the Windows version.

is this project abandoned ?

https://github.com/Dion-Systems/4coder

I really want to like this, but basic things seem to not work. I can't even get it to launch on Mac. On Linux, nothing happens when I enter the "hms_demo_tutorial" command. On Windows, I can't even get the command listener thing to show up. Either there are bugs or I suck at this app profoundly.

On Windows, make sure you're using the left alt key. The AltGr (right alt) key doesn't work.

(+1)

After using it for one day, I can tell this is software that someone deeply gives a toot about. I can't even write C/C++ yet, as I'm learning with handmadehero streams, but just the way how it automatically formats the code and how you navigate files and stuff. I'm deeply inspired by your editor and what people have been adding to it so far. Truly software that speaks for itself. Thank you.

(1 edit)

Hi, is it possible to get the 4.1.8 version for Mac OS? Also it seems that for Mac the app is not bundled while it is actually very easy to do this.

It's not opening on my computer, it just start the process and close after some seconds.

same here. starting it with a debugger shows nvoglv64.dll at the top of the stack in the main thread. so it's probably a graphics driver issue. It doesn't occur when I launch it on my laptop with Intel graphics.

Same thing happened for me, you probably fixed it but for anyone else, just download it again and it worked for me

Is it any difference if I buy it?

I found something about extra things if I buy, but is it the same as if I’m buying this?

Before you had to pay in order to customize 4coder not that long ago, but that functionality is free now.

Thanks for letting me know!

This editor is awesome! Can we get it on iPadOS? Are there any plans for developing it there?

I wish they really made it 

(1 edit)

Was that annoying bug fixed with not copying stuff from outside sources on the first copy command in the latest version by any chance?

(+1)

Thank you for allowing free downloads, I'm exited to try this whenever I can get it running. I'm on Linux and it shows a fatal error that says: "Shader compilation failed" on startup, the console only prints "open: No such file or directory" before the error. I'm currently on an old laptop that only supports opengl 2.1, that might be why it doesn't work. I'll have a new one in a few months in any case.

(+1)

Opengl is indeed the problem. But I got it to run by using mesa3d. Which basically does all the rendering in software.

https://fdossena.com/?p=mesa/index.frag

Thanks for the idea, I hadn't thought of forcing software rendering, in my case on Linux, it works if I run it from a terminal like this:
LIBGL_ALWAYS_SOFTWARE=1 ./4ed

(+2)(-2)

I have thought about buying this for such a long time. It’s super awesome, but only supports C/C++. If it supported Rust I would buy it instantly. I used to write a lot of C, but it’s been a few years now. I currently use Rust every day at my job.

(+2)
:martins:
(+2)

Can we get 4.0 version? I have purchased 4.1 and I want to adopt an old customization layer but I can't use 4coder while doing that and I don't want to write a customization layer from scratch. I am a little tired honestly. I know about the hidden page but I don't have the password

(1 edit)

Nah I'm gonna figure it out come summertime. Just gotta make time for it.

(+2)(-2)

Any news about the Rust lang support?It would be great, Rust has it's own linter cargo check or clippy, formatter rustfmt, builder cargo build. Once you add support for cargo and RLS you added support to pretty much everything for Rust. Hope it gets added in the next release.I would buy 4coder without thinking a second

Deleted 4 years ago
(+4)

Would it be possible to compile this for ARM so it could be run on a Raspberry Pi?

Is this code editor only useful for stuff like C/C++? Or could I use it for Angular development? It seems to be a editor with wich you can navigate through the code really fast so that's why I'm interested.

It is a C/C++ only code editor, though you can customize it to your liking, meaning that you could add support for JavaScript, Python, etc. The only catch is that you have to pay in order to use customizations or create your own.

Hi 4Coder!!  I learned of your editor from watching Tom Randall's devlog videos.   I really want to use this as well for embedded firmware development, but I was wondering if it you know of an add-on that you or someone has made to work just like Visual Studio's "Intellisense" feature?

this pls. im thinkin of switching from vsc but intellisense and codelens are amazing. being able to chase down the origin of a function from a reference and find the references from the origin in a little subwindow is super handy

While this isn't Intellisense, Ryan Fleury made a code peek tool that is a step in this direction.  Check out his extensions, they're really really cool.  Especially power code mode and plotting :)

https://github.com/ryanfleury/4coder_fleury

(1 edit)

this is sick

fleury has his hand in alot of projects, its really cool how much this guy does

(1 edit) (+1)

Quite a weird business model to make your potential developers pay to add functionality and let the users get it for free. It's fine if it works for you, I guess.

(+2)

I disagree.  $24 is not that much money and 4Coder put a lot of time into making this tool.  He has every right to charge as much as he wants

(1 edit)

I was not talking about the prize nor the time put in it nor the rights that he has to do whatever he wants. Just curious about the business model.


Edit: I've just noticed that I wrote "Quit" instead of "Quite" in the original comment. Sorry for the misunderstanding.

(+1)

That's fair!  It is a little strange.  I can't imagine he makes much from this, but I hope he does (I'd love to see further development)

(+2)

Hello is the project discontinued?

(+1)

I'd like to know as well!

Yes

(+1)

I am taking a break from it right now but I intend to continue builds later this year.

thanks for the reply!

I am stoked to see what you come up with!

(1 edit) (+1)

I've been trying to run de demo versions on windows 7 and windows 8.1, they are not working in the sense that they are not even starting and I really want to try this tool. Am I missing something? Thank you!

You aren't doing anything wwrong that I can see, it should work. Email me at editor@4coder.net and we can try to figure it out.

(+1)

I have an old laptop, maybe the graphics card is the problem, it is an old intel 965 but I have tried it on another laptop with an intel hd 3000 and I had the same result. If there's no support for these two, that's ok, thank you!

I am having this same issue on Windows 10

I have same problem

I had the same problem. Issue was in the non roman characters in the path for the 4coder directory. So workaround is to put 4coder directory itself to the path like: C:\Users\Public

Thanks for great editor!

I might be a little late on this, but if you are using RDP to connect to the PC, it does not support OpenGL and hence, 4Coder crashes. You can use Procmon to observe the calls and see when 4Coder crashes.

Deleted 3 years ago
(+1)

Yes, in fact this will be the primary purpose for the next version when it is ready.

Deleted 3 years ago

I'm trying out the demo right now and it seems to already have all the features that I would want in a code editor. What does the paid version have that the demo doesn't?

It comes with the C++ source that you need to build customizations.

can i use 4coder with pygame and if so how do i do that?

I don't know, but 4coder is pretty poor for editing python files in the current version. Extended language support is coming soon though.

(+1)

I just upgraded to 4.1.5 and now 'undo' does not work anymore with control-z...

Somehow the fact that I use a qwertz keyboard messes it up. Is there a way I can change undo to use control-z?

I think unfortunatly there is no workaround. I made a bug report and Allen will fix it: https://github.com/4coder-editor/4coder/issues/235

Ah, thanks for the reply!

4.1.6 just came out and this is fixed!


Nice work!

I love the idea, but after using the demo version for mac I am not sure about buying it.

As soon as I open a second source file the application crashes. Opening the first .c, .cpp or .h file works perfectly and any other type of file is fine. As soon as I try a second .c, .cpp or .h file, however, 4coder hangs and the beach ball of death spins endlessly.

Thanks

(1 edit)

Yes, same problem here.

Update: now working fine with latest version, thanks!

Updated to 4.1.5, which fixed the multiple files issue, but now I can’t enter new lines :(. I have seen the issue on Github that says it’s fixed in 4.1.6, so I’ll just wait until then.

Thanks

For someone that already owns 4coder 4.0, I need to buy version 4.1 in order to upgrade?

4.1 is $12 more than 4.0 was. I offer a $12 discount to everyone who bought 4.0 previously. If you don't see the discount email me at editor@4coder.net and I'll help to arrange it for you.

(+3)

Thanks for Linux support! Great!

Yes, Thank you!! I've been running it in wine for a while and it's been a hack :)

(1 edit)

4.0.x worked fine but 4.1.3 demo won't run at all on Thinkpad X220. I tried both, x86 and x64 build, with no success. I suspect my trusty Intel HD 3000 is not supported anymore. Can you confirm, Allen?

It's possible, the graphics backend was updated a little. It works in a lot of places though. You can submit more information about your driver and the exact results you get from running 4coder at https://github.com/4coder-editor/4coder/issues

(1 edit)

Hi, I'm trying to buy 4Coder but I'm not allowed since my billing address does not match my location which is strange consider that I have not even reached the actual page for paying. My billing address is in deed correct and the location (whatever they mean with this) I'm not sure what they are seeing since and I'm not behind any VPN. 

I have tried to contact itch.io through mail and Twitter but with no luck. Do you have other means of paying or known workaround for this problem?

This is the message I'm greeted with regardless if choosing to pay with card or with PayPal: 

"Confirm payment

Sorry, we can't accept your purchase at this time due to the updated 2015 VAT regulations. Your billing address does not match your purchase location (EE)."

I can buy it for you if you paypal me, random internet stranger!

You are to kind =) I worked around it by picking another country. Thanks anyway!

Hi, I'm interested on buy 4coder and use it on Linux but I cannot see a demo for Linux. I was wondering maybe full version has a Linux version ?

The Linux port is still being developed. As soon as it's ready there will be a demo and full version.

If I should buy it now, will I be able to download the linux version as soon as it is available?

Oh and by the way, great job

Yes you would be able to download the Linux version right away.

(+1)

I really want to love 4coder, but the idea of having to go in and re-customize everything to match my current Emacs setup is a huge turnoff, especially for basic things like the keybinds. Is there any plan to eventually include a preset that closely matches Emacs' default keybindings in the future?

(1 edit) (+3)

Yes someday. I'm planning to do this for Vim first though, as that's a much more highly requested emulation.

Thanks for the reply! Glad to hear it's not out of the question.

(+1)

Hi @sonictk.
Your question was asked in 4coder handmade network forum some time ago:
https://4coder.handmade.network/forums/t/1591-emacs_like_config

People usually tend to change the default Emacs key bindings to fit their needs. So I don't think that is even useful, as I dislike Emacs default key bindings.
May be you and Allen have a different opinion.

Anyway, back in summer I tried to fit 4coder custom layer with some Emacs default bindings I am used to, and some with my own key customization.

These are the Emacs default ones I use:
Movement: C-p C-n C-f C-b C-a C-e
Deletion: C-d M-d C-k 
Search: C-s

And these ones of my own taste:
(In parenthesis, the original Emacs binding)
Movement: M-p M-n M-f M-b M-g (M-g g)
Save: C-S-s (C-x C-s)
Font size: C-= & C-- (like C-x C-= and +/-)
Buffers & windows:
C-w (C-x k)
C-<tab> (C-x o)
M-2 (C-x 2)
M-3 (C-x 3)
M-0 (C-x 0)

The custom layer is in a github repo, though not sure if it would be worthy for you. It is also based on 4coder beta 4.0.30 super.

Regards.

(2 edits)

Why couldn't I change the theme of 4coder on Windows 10 (using demo)? I was using the older version on Linux and could change the theme.

Edit: From https://github.com/4coder-editor/4coder/issues/101, I read I need the super version to fix this. I am going to buy it anyway (wanted to wait for Linux build). I guess this purchase includes all 4.x versions?

(+1)

Yes purchasing 4.1.x gets all 4.1.x releases (4.0.x had 30 releases and lasted about four years, to give you an idea of how it adds up).

Also the theme changing bug is fixed in 4.1.1.

default theme still does not change

(1 edit)

It should work if:
1. The theme is in the theme folder
2. You use the exact name of the file before the ".4coder" as your theme
3. 4coder actually finds and loads the config file - which you can confirm by looking at the messages buffer and seeing what it loaded for default_theme_name?
If you confirm that all of those are true but it's still not working please make an issue on https://github.com/4coder-editor/4coder/issues

(+5)

what's the ETA of Mac and Linux versions ?

(+6)

Hopefully early 2020. Work has already begun on these.

Using vim on Windows is not convenient because my setup is not cross-platorm and terminals on windows are very slow. 4coder is something new and I'm happy to support it's development.

(+4)

As soon as the linux version is available, my money is available to you! ;D
Best present I've got this week by far!

(+4)

This release is my highlight of the week. Thank you very much. You are making my world a little bit better.