Unofficial documentation how to do interesting things and work around problems in ProcessMaker

Moderator: amosbatto

Forum rules: Unofficial documentation for features which have not been tested by Quality Assurance or may change in future versions of ProcessMaker
By chrdoud
#813644
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
Last edited by chrdoud on Wed Mar 14, 2018 6:23 am, edited 1 time in total.
By amosbatto
#813651
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 :-)
User avatar
By ashkufaraz
#813857
External editor is very nice...
thank you very much..

How can install extension vscode?
Capture.PNG
Capture.PNG (212.62 KiB) Viewed 274 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 273 times
please help me

<?php if ($divisor == 0) { trigger_error(&q[…]

nike kd ELEVEN arizona pe. annually, nike hockey i[…]

entering august, the soccer on this planet cup con[…]

like a nature lover, i used to be delighted after […]