BoostNote-App icon indicating copy to clipboard operation
BoostNote-App copied to clipboard

VSCode plugin

Open Rokt33r opened this issue 6 years ago • 7 comments

It would be nice if we have something like vsnote so vscode users don't have to switching the app. https://marketplace.visualstudio.com/items?itemName=patricklee.vsnotes

Rokt33r avatar Dec 16 '18 12:12 Rokt33r

I can probably work on this one, but that'll be until the PWA is released.

VSCode has a Webview API that should be capable of handling this task.

jhdcruz avatar Aug 29 '19 05:08 jhdcruz

I think we should extract db api from the app. So any kind of platform can use it via NPM.

@jhdcruz Btw, Have you created any vscode plugins before?

Rokt33r avatar Aug 30 '19 01:08 Rokt33r

I've scanned the docs before, but any actual extensions/plugins made? No.

That's why I've said "probably".

I can probably work on this one, but that'll be until the PWA is released.

VSCode has a Webview API that should be capable of handling this task.

Also, I don't quite get the idea of installing/using NPM, doesn't that mean you're using it as a dependency?

I think we should extract db api from the app. So any kind of platform can use it via NPM.

Or maybe using it to load local content? which has a point for it to work offline, since using the PWA as a base only works when there is an internet connection.


I'm really sorry but I'm confused. Not really a back-end guy. 😅

jhdcruz avatar Aug 30 '19 03:08 jhdcruz

I'm going to make a class for the PWA app which uses pouchdb's api based on our business logic(Creating a note, creating a folder, creating a tag...) For the VSCode plug-in, I don't think it is good idea just showing PWA app in VS Code. I think it should look like builtin feature of VS Code so adopters can use the plugin naturally. To make it possible, the plugin also needs the class to manage db. So rather than keeping same code in different place, making it into a npm package would be a better option. And I guess we could do same thing for a CLI app.

Rokt33r avatar Aug 30 '19 03:08 Rokt33r

Oh okay, I got the whole idea.

Yeah, I think that'll be too much for someone like me that don't have experience making a plugin/extension.

jhdcruz avatar Aug 30 '19 04:08 jhdcruz

@Rokt33r Good Idea, any advance at the db client?

igorer88 avatar Nov 10 '20 08:11 igorer88

T

tonyadudas avatar Dec 26 '22 05:12 tonyadudas