parse-dashboard icon indicating copy to clipboard operation
parse-dashboard copied to clipboard

VSC plug-in for Parse Server

Open mtrezza opened this issue 2 years ago • 7 comments

New Feature / Enhancement Checklist

Current Limitation

Parse Dashboard offers a console to execute code for Parse Server, but the editor is lacking all the benefits of a modern IDE.

Feature / Enhancement Description

Instead of maintaining a "debugging console" inside Parse Dashboard, a Visual Studio Code plug-in may offer all the benefits of a modern IDE and allows to extension.

Example Use Case

n/a

Alternatives / Workarounds

Further develop or replace the integrated console with a more modern IDE framework.

3rd Party References

n/a

mtrezza avatar Oct 13 '22 01:10 mtrezza

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!

I think we need the Monaco editor for this - would be good if we could pass types in too

dblythy avatar Oct 13 '22 07:10 dblythy

You mean as a replacement for the current editor in Parse Dashboard?

mtrezza avatar Oct 13 '22 08:10 mtrezza

Isn’t that what you were suggesting?

dblythy avatar Oct 13 '22 11:10 dblythy

I mean to suggest to develop a plugin for VSC and then remove the code editor from Parse Dashboard.

mtrezza avatar Oct 13 '22 13:10 mtrezza

Oh, right. My misunderstanding

dblythy avatar Oct 13 '22 20:10 dblythy

Maybe we can find a comparable plugin in VSC as inspiration to see how that could work. I imagine it something like this:

  • Add a connector to connect VSC to a Parse Server (like the various database connector plugins)
  • Add config page to import a selectable version of the Parse JS SDK that auto-initializes using the connection
  • Allow to execute a JS file (or just a selected function inside it), and run it; automatically having the Parse SDK available

So all you'd have to do it is:

  1. Install the VSC plug-in
  2. Add a Parse Server connection
  3. Run code against Parse Server

Ideally you could manage multiple Parse Server connections. And auto-complete comes OOTB as long as Parse JS SDK supports it.

mtrezza avatar Oct 14 '22 12:10 mtrezza