Author Topic: VSCode interface thoughts?  (Read 1505 times)

0 Members and 1 Guest are viewing this topic.

JohnK

  • Administrator
  • Seagull
  • Posts: 10626
VSCode interface thoughts?
« on: December 29, 2021, 04:15:30 PM »
Since I took a job that required me to get back into AutoCAD, I have been trying out VSCode for autolisp development--especially now that I'm trying to relearn Lisp--and so far I really don't like VSCode that much. The script I setup for creating a lisp project(s) works great, and I think VSCode would work great for developing an application for those that are used to mouse-based-text-editing but I just don't like the VS text editing workflow. The VSCode debugging I think will eventually work better then the old VLIDE but right now it sometimes gets a bit wonky (but I think this is a bug in the AutoLisp VSCode plugin).

How are you guys liking the VSCode interface?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

ronjonp

  • Needs a day job
  • Posts: 7527
Re: VSCode interface thoughts?
« Reply #1 on: December 29, 2021, 06:29:18 PM »
I still like the VLIDE.

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

Lee Mac

  • Seagull
  • Posts: 12913
  • London, England
Re: VSCode interface thoughts?
« Reply #2 on: December 29, 2021, 07:03:21 PM »

JohnK

  • Administrator
  • Seagull
  • Posts: 10626
Re: VSCode interface thoughts?
« Reply #3 on: December 29, 2021, 07:22:32 PM »
haha

What's going to happen when *that* goes away?
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

ronjonp

  • Needs a day job
  • Posts: 7527
Re: VSCode interface thoughts?
« Reply #4 on: December 29, 2021, 11:26:09 PM »
haha

What's going to happen when *that* goes away?
Then I retire.  :-D

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

d2010

  • Bull Frog
  • Posts: 326
Re: VSCode interface thoughts?
« Reply #5 on: December 30, 2021, 02:03:20 AM »
How are you guys liking the VSCode interface?
Can you use VSCode inside Ubuntu20Linux?
Exists VSCode.deb+Lisp for debian? :lmao:

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8691
  • AKA Daniel
Re: VSCode interface thoughts?
« Reply #6 on: December 30, 2021, 02:20:59 AM »
I like the look of vscode, haven’t tried it with autolisp, I still use lisp link.

kdub_nz

  • Mesozoic keyThumper
  • SuperMod
  • Water Moccasin
  • Posts: 2132
  • class keyThumper<T>:ILazy<T>
Re: VSCode interface thoughts?
« Reply #7 on: December 30, 2021, 03:30:31 AM »
I'm not writing much VLisp these days but I like the VSCode . . . though I still use both.

Having an editor that displays code is arrangeable panes is worth a lot. . . . as is having one that has been updated in the last 15 years.
Called Kerry in my other life
Retired; but they dragged me back in !

I live at UTC + 13.00

---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.

JohnK

  • Administrator
  • Seagull
  • Posts: 10626
Re: VSCode interface thoughts?
« Reply #8 on: December 30, 2021, 09:54:49 AM »
Wasn't LispLink R14 days? It still runs (thank goodness for Compatibility mode)?

VS Code is--and will be--better for AutoLisp developers; they have a professional editor and it is far more expandable then the VLIDE. For example, the script I created creates a few JSON files which people can use as a template to help them automate stuff. So much more potential!

I am making my switch back to Vim. For me, Vim is far too customized; VS Code just slows me down.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8691
  • AKA Daniel
Re: VSCode interface thoughts?
« Reply #9 on: December 30, 2021, 07:13:00 PM »
Yeah, it’s pretty old, the editor portion still works, the ARX used for loading/debugging/compiling projects is dated at AutoCAD 2015.
The author was from my home town, kinda cool. I was in contact with him to try and make a version for BricsCAD, but unfortunately the guy passed away.

It has a few features I like, such as localizing variables , being aware of arguments “(defun OpenExcel (file / book exl)”
And my most favorite feature is “CTRL+M” selects a block of code.

JohnK

  • Administrator
  • Seagull
  • Posts: 10626
Re: VSCode interface thoughts?
« Reply #10 on: December 30, 2021, 07:53:43 PM »
Yeah, it’s pretty old, the editor portion still works, the ARX used for loading/debugging/compiling projects is dated at AutoCAD 2015.
The author was from my home town, kinda cool. I was in contact with him to try and make a version for BricsCAD, but unfortunately the guy passed away.

It has a few features I like, such as localizing variables , being aware of arguments “(defun OpenExcel (file / book exl)”
And my most favorite feature is “CTRL+M” selects a block of code.
That's actually pretty cool! Localizing variables is a huge win in itself.

Couldn't you just create an ARX thing for loading a file into a running A/BCAD? I mean, I imagine the editor must save a temp file somewhere.  I am thinking about Pthreads in Unix and BLOCKING until "a file" become ready -i.e. "OR Synchronization".

Something like: https://docs.microsoft.com/en-us/windows/win32/sync/synchronization-and-overlapped-input-and-output


EDIT: I should probably finish that thought so you don't think I'm totally crazy.

« Last Edit: December 30, 2021, 09:08:20 PM by John Kaul (Se7en) »
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org