![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: May 2023
Device: Mac
|
VS Code Mac Development Environment
New to Sigil Plugin Development.
I am using VS Code to develop an edit plugin for Sigil. My question is how to set up VS Code / imports, etc. to allow me to see properties and methods of the bk starting object. When I say "see", I would like VS Code Intellisense to show available methods and properties, etc. of bk and its child objects, etc. |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,328
Karma: 5568878
Join Date: Nov 2009
Device: many
|
Or just get and read the plugin dev docs and use any handy text editor
![]() The source is there as well as examples. You would probably be better off checking out the python source of some other edit plugins. Sorry I never use VS so I can't help you with that. The majority of the plugin source code can be found here: https://github.com/Sigil-Ebook/Sigil...unchers/python And the C++ routine to interface with it is in Sigil/src/Dialogs/PluginRunner.cpp in case you are interested in how the interface actually works, but everything you really need to know can be found in the Sigil Plugin Framework guide: https://github.com/Sigil-Ebook/Sigil...ork_rev14.epub Last edited by KevinH; 06-02-2023 at 10:10 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,179
Karma: 201721072
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I use VS a lot, but I don't try to use the Code Intellisense with anything other than the stock Python built-ins. I wouldn't begin to know how to incorporate pypi or custom modules. But then I don't use VS's code completion (which drives me absolutely bonkers if left turned on) or property/method hints when typing. I only use it for code highlighting, section collapsing/expanding, and syntax checking.
Last edited by DiapDealer; 06-05-2023 at 11:54 AM. |
![]() |
![]() |
![]() |
Tags |
plugin development |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
K4 development environment | littlenellie | Kindle Developer's Corner | 2 | 10-08-2022 10:10 PM |
help set up development environment? | brianinmaine | Kindle Developer's Corner | 7 | 01-19-2014 09:23 AM |
Setting up Mac Calibre development environment? | pdurrant | Calibre | 2 | 01-06-2009 08:10 AM |
setup development environment | JeffElkins | Calibre | 21 | 10-22-2008 04:25 PM |
Setting up development environment | tompe | OpenInkpot | 9 | 08-27-2008 03:26 PM |