Page 1 of 1

ProcessMaker external Editor

Posted: Tue Mar 13, 2018 1:19 pm
by chrdoud
Hi all,
I work a lot this few months on ProcessMaker, and i thought that the code editor is poor for big script.

I developed an external editor with visual studio code. https://code.visualstudio.com/
Script reads and updates are based on the ProcessMaker APIs.
The scripts are written on the file system which allows to use git.

Thi is a functional BETA, but it is still a beta, the code is very ugly

Image


https://github.com/chrdoud/pmkr

Re: ProcessMaker external Editor

Posted: Tue Mar 13, 2018 6:02 pm
by amosbatto
That is a neat trick. I agree that the PM code editor isn't very good.

I looked at your code in https://github.com/chrdoud/pmkr/blob/ma ... tension.js
superagent looks a lot easier than using jQuery's $.ajax() function for doing REST calls.

I would love to use this if Microsoft ever makes a version of Visual Studio for Linux :-)

Re: ProcessMaker external Editor

Posted: Wed Mar 14, 2018 3:51 am
by chrdoud

Re: ProcessMaker external Editor

Posted: Thu Mar 29, 2018 3:39 am
by ashkufaraz
External editor is very nice...
thank you very much..

How can install extension vscode?
Capture.PNG
Capture.PNG (212.62 KiB) Viewed 3519 times
When i open folder shown error in setting that file unknowing setting file

when i perss F5 and run extension and then press Ctrl+Shift+P and select PMKR:sync say error command not found
2.PNG
2.PNG (63.59 KiB) Viewed 3518 times
please help me

Re: ProcessMaker external Editor

Posted: Thu Mar 29, 2018 5:45 am
by chrdoud
hi,
Check your mail.

I will realease this on vscode marketplace (when i understand how it works :evil: )

Re: ProcessMaker external Editor

Posted: Wed Apr 03, 2019 8:08 am
by chrdoud
Hi all,

The extension is now release on https://marketplace.visualstudio.com/.
Choose Visual Studio Code (Free and Open source on linux, windows, ...),
Search for ProcessMaker.

Or, from visual studio code, click on extension (left panel) and search from ProcessMaker.

Re: ProcessMaker external Editor

Posted: Wed Apr 03, 2019 11:43 pm
by amosbatto
Cool. I started a page in the PMUsers Wiki about your extension:
https://www.pmusers.com/index.php/Use_V ... Maker_code

Feel free to add images and more info.

Re: ProcessMaker external Editor

Posted: Tue Jun 11, 2019 4:33 pm
by stevensi1018
I configured every setting, I installed the 3 requirements but when I run the Sync command, I get this error :
command 'pmkr.sync' not found

Can you write here what was the fix please ? I think the user above had the same problem but it seems like you answered by email.

Thanks

Re: ProcessMaker external Editor

Posted: Wed Jan 08, 2020 4:52 am
by philippap33
chrdoud wrote: Wed Apr 03, 2019 8:08 am Hi all,

The extension is now release on https://marketplace.visualstudio.com/.
Choose Visual Studio Code ( consultant SEO Paris Free and Open source on linux, windows, ...),
Search for ProcessMaker.

Or, from visual studio code, click on extension (left panel) and search from ProcessMaker.
These tools all seem very useful for Linux, in any case thank you.

Re: ProcessMaker external Editor

Posted: Sun Feb 16, 2020 10:47 pm
by orantip
Hi all,

I am trying to follow how to use Processmaker external editor but I got the problem with sync step. It's not found. How can please I do it work?

Thank you.
Oran