April 26, 2019, 05:36:20 AM

Author Topic: Decent IDE for BMX NG  (Read 184 times)

Offline Hezkore

  • Jr. Member
  • **
  • Posts: 8
Decent IDE for BMX NG
« on: April 17, 2019, 02:12:44 AM »
I find MaxIDE to be quite the hassle to work with.
There's no way to drag tabs around.
The text view scrolls too "smoothly" when using the mouse wheel.
Line numbers not working.
No way to display whitespaces.
Etc.

And the BlitzMax Sublime Text 3 package hasn't been updated since 2017.
(https://packagecontrol.io/packages/BlitzMax)

I feel like the tools to work with BMax NG is keeping me from actually using BMax NG.
And I do know that some people use Blide, but I'm not really into having to buy a very outdated program.
Is there any other IDE I could use for BMax NG?

Offline Derron

  • Hero Member
  • *****
  • Posts: 1963
Re: Decent IDE for BMax NG
« Reply #1 on: April 17, 2019, 03:12:41 AM »
Any text editor capable of running external commands will do.

Eg I use Geany and a little plugin by me which adds compiler settings to the icon bar once you have a .bmx file selected (so you can change release, quick build,...).
Onl debugging is what I still do in MaxIDE.

Should work on Windows too.


Bye
Ron

Offline Hezkore

  • Jr. Member
  • **
  • Posts: 8
Re: Decent IDE for BMax NG
« Reply #2 on: April 17, 2019, 03:27:31 AM »
I'm using good old Sublime, as I do with most things. :)
The problem is that I'd like at least some sort of auto complete or parameter hint system, so that I don't have to go through module sources to find out what parameters a function uses.

Offline Yellownakji

  • Full Member
  • ***
  • Posts: 175
  • Whoop-de-doo-ba-dooo!
Re: Decent IDE for BMax NG
« Reply #3 on: April 17, 2019, 03:57:51 AM »
I find MaxIDE to be quite the hassle to work with.
There's no way to drag tabs around.
The text view scrolls too "smoothly" when using the mouse wheel.
Line numbers not working.
No way to display whitespaces.
Etc.

And the BlitzMax Sublime Text 3 package hasn't been updated since 2017.
(https://packagecontrol.io/packages/BlitzMax)

I feel like the tools to work with BMax NG is keeping me from actually using BMax NG.
And I do know that some people use Blide, but I'm not really into having to buy a very outdated program.
Is there any other IDE I could use for BMax NG?

BLide is well worth the price.  It's the premier editor and what i've used for years.

I love the selective module builder, the portable environment generator, the ability to have multiple blitzmax installs etc and of course, styles.  The fact you can create solution files further integrates all your source code into one package and also the fact that you can actually build into an EXE with an icon/meta info.  it's an amazing editor.

Yes, you can move tabs, too.  and it has a much better help index.

Offline Derron

  • Hero Member
  • *****
  • Posts: 1963
Re: Decent IDE for BMax NG
« Reply #4 on: April 17, 2019, 05:24:52 AM »
Icon and metadata is done in newer NGs automatically.
Sourcefilename.ico is used.
Sourcefilename.settings is used for meta.


Autocomplete is missing yes. It is hard to write a complete editor..which is why nobody tackled that for now. People should consider writing a language plugin for one of the major free IDEs (atom, intellij, source...). This will still be a big task but you would get a mighty editor at the end.


Bye
Ron

Offline Brucey

  • Jr. Member
  • **
  • Posts: 67
Re: Decent IDE for BMax NG
« Reply #5 on: April 17, 2019, 05:27:00 PM »
If you are on Windows and have the latest source (modules & maxide) you could try uncommenting the line in MaxIDE :
Code: [Select]
Import MaxGUI.maxguitextareascintilla
which is a new text area widget I've been working on, using Scintilla. It does its own highlighting and undo/redo, and has line numbering.
It still has a couple quirks, but I'm now using it exclusively, and I find it much better than the default text area (especially since the undo/redo actually now works properly in MaxIDE).

macOS version is still a WIP.

Offline Hezkore

  • Jr. Member
  • **
  • Posts: 8
Re: Decent IDE for BMax NG
« Reply #6 on: April 18, 2019, 01:10:11 AM »
Ah yes, good old Scintilla.
That does instantly feel a lot better.
Could it possibly support visible whitespaces?

The tab order still upsets me a bit though.
It feels like I have no control, and like I have to carefully open things in the correct order.
Is there any way that could be fixed?

I'm willing to fork MaxIDE myself and get it working the way I want.
If things would require big rewrites that is.