I noticed that CTRL+Z is not working anymore in th...
# general
s
I noticed that CTRL+Z is not working anymore in the Netsuite editor. I've verified with 3 other users and they confirmed it. Is there's a work around ?
j
What do you mean by the “Netsuite editor”? it’s working in the script editor for me (Chrome, NS 2022.1)
c
Would also recommend not using the editor as its not very friendly. Use something like webstorm or a vscode or whatever you use and copy and paste it into the editor netsuite. Some stuff also messes w/ the formatting so you at least always have the formatting you want.
s
my gut feeling is advanced pdf
overlord @creece i'm still waiting for a tutorial on sdf, many thanks 😂
🤣 1
c
you and me both
s
@mattdahse @erictgrubaugh @Watz @darrenhillconsulting deliver us!!!
^what do you think @creece? ^_^
s
I'm using notepad++ to edit the code but sometime, for aquick change I simply edit the file in NEtsuite and that's where the CTRL+Z is gone. Having said that, I would really like to use VSCode. I've installed it using SuiteAnswers and ended in an endless loop. Netsuite instructions referred to doc1, doc1 refer to doc2, doc2 refer to doc3, doc3 refer to doc1, etc... Any of you has the real / simple instructions ?
👍 1
s
so you do mean the NetSuite script editor, not sure, i dont use that I use Atom IDE exclusively, one IDE for freemarker, JSON and javascript. I also work ruby + c# so atom saves me
I use Atom IDE
c
I gotcha. I dont have a guide or anything but if you have a specific issue, someone in #C29HQS63G can for sure help with the vscode stuff. The editor has never worked well for me. I do the same thing with quick changes but never use CTRL+Z in there.
d
WebStorm is my tool of choice ... but VSCode looks to be equally as capable. No way I'd use notepad++ and any other glorified test editor (that's just me though). Lastly, I haven't (nor will I ever) code directly to javascript ... Typescript is the true saviour
s
@darrenhillconsulting from a non-developer based startup I'm not sure how I understand typescript's syntax, is there a guide somewhere? What I mean and correct me if I'm wrong, I'm following a node based syntax when I type suitescript 2.1 etc?
but with webstorm there isn't a good guide to setup the netsuite connection or the really helpful suggestive text you get as you code?
j
I use WebStorm, then copy-paste into NS. Minor changes I’ll direct-edit. I never got comfortable enough with SDF to trust it to push changes without breaking things (I’m usually working on many things at once)
d
Oh man ... really @jen?
s
@darrenhillconsulting @jen I think it depends on the team, honestly for teams not experienced with split and fork, I'd go that path too
j
I know I know
s
I've worked with teamates that use SDF, and they would overwrite my "commits" via the UI consistently
j
but I’ve been a one-man show for so long, I’ve been able to get away with it.
🎉 1
we do push all our changes (in theory) to Git also, for posterity
it baffles me that NS doesn’t have some sort of built-in version control. Scary.
SB has saved me a few times.
w
Haven't you accidently lost some code that only existed in NS?
s
bitbucket for us, but effectively, thats how it is
j
well yes bitbucket
w
Happened to me before using sdf/git
Due to overwriting the wrong file or something similar
d
Not being judgy but the tools you are using should make you life stress free ...
s
Fortunately my projects can deploy independently, but libraries that change, our pms leave a virtual postit to do another get before they fork (essentially something like that)
but its a pain always, and its a pain you live with
as to code loss, our team always backup a unmerged copy of the code
so when we need to (remerge) we just do a beyond compare to some degree, and for all the files manually, unfortunately
but i agree thats way less than optimal