flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Hybrid IDE principle

Author
Thread Post new topic Reply to topic
AsmGuru62



Joined: 28 Jan 2004
Posts: 1738
Location: Toronto, Canada
AsmGuru62 21 Oct 2025, 19:18
I just want to ask the good people on the forum if the idea is worth it.
Basically, the idea is to have an IDE which is a hybrid of multiple document editor and
a command line interface. I might have seen something similar in Linux.
Code:
+---------------------------------------------------+
| 1. MAIN EDITING AREA (FEW FILES CAN BE OPEN)      |
|                                                   |
|                                                   |
|                                                   |
|                                                   |
|                                                   |
|                                                   |
|               SPLITTER                            |
|              /                                    |
+---------------------------------------------------+
| 2. OUTPUT AREA (VISIBLE WHEN NEEDED)              |
|                                                   |
|                                                   |
+---------------------------------------------------+
| 3. COMMAND LINE INTERFACE AREA                    |
+---------------------------------------------------+
    

Basically, while editing you can switch to command line and type a short command
to do something complex, like the following:

- search for text within the scope of a function, file or the whole project
- create new files and 'include' it into project
- create new structures or add structure members (without switching documents)
- create new procedures at the caret location
- do something very specific, like "copy to clipboard lines between proc/endp"
- in the long function add local variable without scrolling up
- add global variable or string
- generate code, like "insert IF/ELSE for CF at caret location"
- do code analysis, like asking if a 'proc' has unused locals or some globals are not used
- ... and so on.

The advantage of it is that no need for any dialogs/resources, just parsing a lot
of commands. Of course, I was planning for some help screens.

So, any critique on that?
Post 21 Oct 2025, 19:18
View user's profile Send private message Send e-mail Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8465
Location: Kraków, Poland
Tomasz Grysztar 21 Oct 2025, 20:09
Isn't it more or less what emacs/vim are?

But it also reminds me of another fun idea I once had: to make a spreadsheet software with command line, which would allow to execute actual SQL commands on the spreadsheet data. It would be called Esquel. Wink
Post 21 Oct 2025, 20:09
View user's profile Send private message Visit poster's website Reply with quote
macomics



Joined: 26 Jan 2021
Posts: 1197
Location: Russia
macomics 21 Oct 2025, 20:19
Is it vi/vim with splitter?

ADD:
Tomasz Grysztar wrote:
Isn't it more or less what emacs/vim are?
You were faster
Post 21 Oct 2025, 20:19
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4308
Location: vpcmpistri
bitRAKE 21 Oct 2025, 21:07
What about a heterogeneous workspace? Obviously, we have some common interfaces: text editor, command line, file/project browser, etc. Yet, why do they need to be limited to some rectangle? ... an IDE interface, why? The interop between various resources is very limited - should we pretend they all go together?

We already have that in the OS and just need to orchestrate our various tools, imho. Servers, pipes, etc. all facilitate sharing between tools. Small, focused tools are easier to learn, debug, etc. Also, we don't need to put artificial structure on how the tools are used together.

Can a refined behemoth of a tool be useful - sure, but it maneuvers like a freight train. As the culture of work evolves the small tools migrate faster in and out of the ecosystem.

---
Existing tools that perform close to stated goals:

The SciTE editor is completely scriptable in Lua - can do all the things you have listed. Lua can even be used to write custom lexers.

_________________
¯\(°_o)/¯ AI may [not] have aided with the above reply.
Post 21 Oct 2025, 21:07
View user's profile Send private message Visit poster's website Reply with quote
Hrstka



Joined: 05 May 2008
Posts: 65
Location: Czech republic
Hrstka 22 Oct 2025, 08:26
If you are planning for the future, you'll need to include AI code analyzer+generator Smile
Post 22 Oct 2025, 08:26
View user's profile Send private message Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1738
Location: Toronto, Canada
AsmGuru62 22 Oct 2025, 21:37
Thanks everyone.

About SciTe --- it is good, but I am not convinced that it can do Inteli-Sense like a real IDE.
I know it has the configuration files and all that, but what about the following scenario:

- I have a structure 'MyClassA' in one of the source files.
- I edit the other file and invent a new structure 'MyClassB' and one of the fields in it is 'Member1 MyClassA'
- I switch to a file #3 and type something like that:
Code:
mov rcx, [rsi + MyClassB.]
    

Now, when I type that last '.' --- I want so see the list of all members, including 'Member1'.
I select the 'Member1' and it gets typed into code:
Code:
mov rcx, [rsi + MyClassB.Member1]
    

Now, I type a dot '.' again and want to see all members of 'MyClassA'.
Post 22 Oct 2025, 21:37
View user's profile Send private message Send e-mail Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4308
Location: vpcmpistri
bitRAKE 22 Oct 2025, 22:41
SciTe doesn't have intellisense, afaik.

_________________
¯\(°_o)/¯ AI may [not] have aided with the above reply.
Post 22 Oct 2025, 22:41
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.