Recent

Author Topic: Code Librarian fork from GExperts  (Read 2541 times)

Guva

  • Jr. Member
  • **
  • Posts: 82
Code Librarian fork from GExperts
« on: March 20, 2021, 01:29:42 pm »
Code Librarian Expert for Lazarus IDE.
Hi everybody. I ask you to test the expert for lazarus.
https://github.com/GuvaCode/Code-Librarian
« Last Edit: March 20, 2021, 02:37:14 pm by indigo80 »

MarkMLl

  • Hero Member
  • *****
  • Posts: 6682
Re: Code Librarian fork from GExperts
« Reply #1 on: March 20, 2021, 02:14:40 pm »
Looks interesting, thanks for the contribution.

I see it stores stuff in a database: can this be dumped/exported?

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Guva

  • Jr. Member
  • **
  • Posts: 82
Re: Code Librarian fork from GExperts
« Reply #2 on: March 20, 2021, 02:25:02 pm »
Looks interesting, thanks for the contribution.

I see it stores stuff in a database: can this be dumped/exported?

MarkMLl

snippets can only be saved as an html page.
I didn't even think about it. It's a good idea to add import / export.

the database can be connected by specifying the path where it is stored.
« Last Edit: March 20, 2021, 02:27:47 pm by indigo80 »

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Code Librarian fork from GExperts
« Reply #3 on: March 20, 2021, 02:29:22 pm »
Would be nice if before screen-shooting you changed the language of your IDE to English. It's a little hard interpreting images with Russian text. :o

But yes, it's a nice addition and would be more so if you could add that "import/export" feature  :)
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

howardpc

  • Hero Member
  • *****
  • Posts: 4144
Re: Code Librarian fork from GExperts
« Reply #4 on: March 20, 2021, 03:10:03 pm »
It would be better if the copied/pasted code could be immediately edited rather than being read-only (or have I not understood how it works?).

Guva

  • Jr. Member
  • **
  • Posts: 82
Re: Code Librarian fork from GExperts
« Reply #5 on: March 20, 2021, 03:15:00 pm »
It would be better if the copied/pasted code could be immediately edited rather than being read-only (or have I not understood how it works?).
there you can edit everything at once. read-only exhibited separately

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9857
  • Debugger - SynEdit - and more
    • wiki
Re: Code Librarian fork from GExperts
« Reply #6 on: March 20, 2021, 04:27:40 pm »
How about submitting it for the Online Package Manager?

https://wiki.lazarus.freepascal.org/Online_Package_Manager#Create

Guva

  • Jr. Member
  • **
  • Posts: 82
Re: Code Librarian fork from GExperts
« Reply #7 on: March 20, 2021, 04:38:21 pm »
How about submitting it for the Online Package Manager?

https://wiki.lazarus.freepascal.org/Online_Package_Manager#Create
Early. Need to catch all the bugs. And  add functionality.

MarkMLl

  • Hero Member
  • *****
  • Posts: 6682
Re: Code Librarian fork from GExperts
« Reply #8 on: March 20, 2021, 08:50:30 pm »
I didn't even think about it. It's a good idea to add import / export.

the database can be connected by specifying the path where it is stored.

In that case I suggest also considering using an external database... if it were PostgreSQL or Firebird then not only could coworkers share snippets but they could be notified if something was updated, and that could be a seriously useful facility in the IDE.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018