Recent

Author Topic: How to build own ide in Lazarus  (Read 645 times)

Packs

  • Sr. Member
  • ****
  • Posts: 368
How to build own ide in Lazarus
« on: October 06, 2024, 09:53:05 pm »
I would like to build my own ide like Lazarus ide.
There should be component plate with minimum component.
Minimum property,form,object inspector

Please guide me

Warfley

  • Hero Member
  • *****
  • Posts: 1761
Re: How to build own ide in Lazarus
« Reply #1 on: October 06, 2024, 10:15:02 pm »
Some of the components like the code editor (synedit) or the property editor are easily usable packages. A long time ago I've built this: https://github.com/Warfley/AU3IDE
But granted it's not the best code base, especially the form editor is kinda terrible in retrospect.

Other than that, personally I prefer building add-ons for vscode, that's way easier than building your own ide from scratch

af0815

  • Hero Member
  • *****
  • Posts: 1379
Re: How to build own ide in Lazarus
« Reply #2 on: October 07, 2024, 11:05:14 am »
Object inspector is a (standalone) component. See examples objectinspector (..path to lazarus..\lazarus\examples\objectinspector)
regards
Andreas

Ștefan-Iulian Alecu

  • New Member
  • *
  • Posts: 21
Re: How to build own ide in Lazarus
« Reply #3 on: October 08, 2024, 09:40:47 pm »
Adding to the example Warfley gave, D has an IDE named Dexed that might as well be Lazarus from another universe looks-wise: https://gitlab.com/basile.b/dexed. This used to be maintained too: https://github.com/rpcope1/Coedit. https://github.com/oliverhermanni/XC-Edit is another example, but it's debatable if it's an IDE or not.

In terms of text editors (smaller in scope), you can take a look at https://github.com/parmaja/miniedit or https://github.com/Alexey-T/CudaText. https://github.com/dertuxmalwieder/groffstudio is even smaller than those two, but hey, it's worth shouting it out, it's pretty good at its job.

https://github.com/mse-org/mseide-msegui I've been keeping an eye on this particular project, it's definitely made in Free Pascal, but the MSE people have their own toolkit. Might be relevant, might be not.

Packs

  • Sr. Member
  • ****
  • Posts: 368
Re: How to build own ide in Lazarus
« Reply #4 on: October 10, 2024, 08:56:56 am »
jvRuntimeDesigner componet gives form at runtime and user can able to button,label,image , panel

Edson

  • Hero Member
  • *****
  • Posts: 1314
Re: How to build own ide in Lazarus
« Reply #5 on: October 10, 2024, 05:50:51 pm »
I've several libraries that can be used for building an IDE:

Setting forms: https://github.com/t-edson/MiConfig
SynEdit Highlighter: https://github.com/t-edson/SynFacilSyn
SynEdit Completion tool and highlighter: https://github.com/t-edson/SynFacilCompletion
Utilities for SynEdit: https://github.com/t-edson/SynFacilUtils

You can check my IDE/compiler in order to see how it's implemented using these libraries:

https://github.com/t-edson/P65Pas

Lazarus 2.2.6 - FPC 3.2.2 - x86_64-win64 on Windows 10

 

TinyPortal © 2005-2018