Page 1 of 1
Plugin system for IDE
Posted: Tue Jul 11, 2023 4:17 am
by moricode
can it be done the IDE like Notepad++ that has a plugin system allow to download custom plugin ?
so for some quality plugin everyone can download and use it easily .
Thanks.
Re: Plugin system for IDE
Posted: Tue Jul 11, 2023 2:49 pm
by mk-soft
No visible text in forum with proSilver dark edition
Re: Plugin system for IDE
Posted: Tue Jul 11, 2023 5:32 pm
by AZJIO
moricode
can it be done the IDE like Notepad++ that has a plugin system allow to download custom plugin ?
you can write a plugin, the IDE allows it. You get access to Scintilla and can do anything with your documents.
Look at the
"IDE-Tool" section in the first post.
Re: Plugin system for IDE
Posted: Wed Jul 12, 2023 3:27 am
by moricode
AZJIO wrote: Tue Jul 11, 2023 5:32 pm
moricode
can it be done the IDE like Notepad++ that has a plugin system allow to download custom plugin ?
you can write a plugin, the IDE allows it. You get access to Scintilla and can do anything with your documents.
Look at the
"IDE-Tool" section in the first post.
i mean a plug in download package manager , and everyone can share their plugin , and everyone can download and use it
Thanks
Re: Plugin system for IDE
Posted: Wed Jul 12, 2023 3:30 am
by moricode
mk-soft wrote: Tue Jul 11, 2023 2:49 pm
No visible text in forum with proSilver dark edition
sorry
i don't know how
Re: Plugin system for IDE
Posted: Wed Jul 12, 2023 8:03 am
by AZJIO
1. Why do you make each letter black? Black on black is not visible. We have seen your program, it is not necessary to apply it where it is not necessary.
2. A lot of work is being done to improve PureBasic, now the compiler is being updated. If the author will write plugins and a plugin manager for you, then this will be in return for working with the compiler. That is, time will be spent on unnecessary things instead of the necessary ones.
3. You can use AkelPad or Notepad++ to edit code using plugins.
4. You have no idea how much I have a desire to come up with work for the authors of PureBasic. For example, improve the CHM help file. Make styles in the css file, add links to examples in the code, add examples on each page, make style support an external file, add "copy code" and "open code" buttons, add popular libraries as a separate help file, for example user functions.
So you are not the only dreamer here. But you can do it yourself, no one will forbid you. Look, I made
notepad plugin support and even some Notepad++ plugins are supported. This is proof that you can do it yourself without asking the author. And I also made a
help file (
online version,
discussion). Now I have two help files combined into one tree.
Download
my build of AkelPad with PureBasic support. You can get the English menu
here. Press F8 to get the PureBasic menu. In order for the functions to work, you need to change the paths to your PureBasic in the Menu_by_type.js file
For Notepad++ you can download PureBasic related tools, such as
functions,
lexer. You can write any plugin yourself, including the plugin manager,
here is a description of how to do it.
Re: Plugin system for IDE
Posted: Wed Jul 12, 2023 10:32 am
by HeX0R
He simply asked for an improvement to the IDE and that's what a "Feature Request" thread is for, so keep cool!
@moricode: just don't use the color tags, the board will make sure that anyone can read your text no matter the styles they are using.
Re: Plugin system for IDE
Posted: Wed Jul 12, 2023 12:27 pm
by AZJIO
HeX0R
After all, no one is opposed to improving the IDE. The author opened the sources so that they can be made available for improvement by the method of user participation. I understand how hard it is to rewrite a complex program. Why does it have to look like Notepad++. At first I thought that the Notepad++ method is classic. Now I doubt it. The Notepad++ method embeds the menu in the program shell, and it also loads the DLL into memory. The PureBasic IDE's method uses the tool to run at the time the function is requested, i.e. don't store the DLL in memory. Notepad++'s only advantage is the use of callbacks, but 95% of the time it's not necessary.
Plugins called tools are currently supported. And as far as I understand, if you want to help, then write this functionality in open source. I also want the IDE to include all the features of Notepad++, but I understand that I should offer a solution, not suggest a rewrite of the IDE. For example, my problems are more real: when I open 30 tabs I wait a minute for them to open. I checked in my program and the opening time is almost the same. If I open 30 tabs in Notepad++ it opens in 2 seconds, it opens faster than one document. If I open a file of 10 thousand lines, then I wait 3 seconds, and Notepad ++ opens instantly. I also use opening ini files in the IDE and I want the IDE to understand these files and highlight them and be able to recognize the encoding. Otherwise, I have to keep 2 editors open so that the files are highlighted. In this regard, I would like files to be opened as in a browser, that is, if 30 files are opened, then only the active file is opened, while the rest only have a tab created and there is a flag in the structure that the file is not open. When I click a tab, the file opens. It would help me open files instantly without waiting a minute. But I understand that for this you need to rewrite the IDE.
I suggested several solutions above, I use them myself. I added buttons in the IDE to open the file in another editor. For example, in AkelPad it is convenient to insert code constructs, the usual auto-completion allows inserting multiline text and supports indentation and cursor positioning. That is, I can type code in one editor, then deploy the IDE and it will prompt you to reload the file, and I can also press F5 to open the file in the IDE.
I think that the idea of rewriting the code in Notepad++ style requires a lot of work. If you make support for Notepad ++ plugins, then it makes sense, if this is not done, then you still need to write a hundred plugins. Why write a plugin manager if there are none.
In Akelpad, I use the function of removing space at the end of the lines using the Alt+Backspace hot key.