Author Topic: Visual LISP Extension for Microsoft Visual Studio  (Read 313 times)

0 Members and 1 Guest are viewing this topic.

Rustabout

  • Newt
  • Posts: 43
Visual LISP Extension for Microsoft Visual Studio
« on: July 29, 2020, 11:10:26 PM »
So anyone use it or try it? How does it work? Has it made you switch from VLIDE?

Thanks!!

John Kaul (Se7en)

  • Administrator
  • Needs a day job
  • Posts: 9476
Re: Visual LISP Extension for Microsoft Visual Studio
« Reply #1 on: July 30, 2020, 10:35:53 AM »
I briefly looked into it and took some initial notes which you can find here:
https://www.theswamp.org/index.php?topic=55696.msg598040#msg598040

By no means exhaustive; it was only an cursory look (about an hour).
TheSwamp.org (serving the CAD community since 2003)

Donate to TheSwamp.org

Rustabout

  • Newt
  • Posts: 43
Re: Visual LISP Extension for Microsoft Visual Studio
« Reply #2 on: July 30, 2020, 11:05:14 PM »
Thanks for the link! That's actually the post I was thinking of when I posted this topic. I was hoping you had time to get around to trying out the "debugging/send to AutoCAD" part. None the less, the information contained will be invaluable when I finally make time to try out the plugin.

domenicomaria

  • Newt
  • Posts: 21
Re: Visual LISP Extension for Microsoft Visual Studio
« Reply #3 on: July 31, 2020, 02:43:09 AM »
So anyone use it or try it? How does it work? Has it made you switch from VLIDE?

Thanks!!

Is it possible
to switch from VISUAL STUDIO and VLIDE ?
(and viceversa)

If YES, what is the way ?

domenicomaria

  • Newt
  • Posts: 21
Re: Visual LISP Extension for Microsoft Visual Studio
« Reply #4 on: July 31, 2020, 03:05:45 AM »
LISPSYS !

jtoverka

  • Newt
  • Posts: 78
Re: Visual LISP Extension for Microsoft Visual Studio
« Reply #5 on: July 31, 2020, 09:27:11 AM »
Has it made you switch from VLIDE?

I made the switch and it is superior to VLIDE.

togores

  • Mosquito
  • Posts: 7
Re: Visual LISP Extension for Microsoft Visual Studio
« Reply #6 on: August 02, 2020, 05:32:38 PM »
I have seen that VSCode has a lot of cool features, but forcing people to change work habits is usually not welcome. Maybe Autodesk should put in the Marketplace an Extension that can be used with previous releases. This way many people that do not have access to 2021 could start testing it right now.I have tested the other ones available, the one by garciadelcastillo looks good, but does no seem to have a Debug Adapter.
Also, one of the most interesting features in VSCode is Source Control Management (SCM) that is lacking in VLIDE, but there is nothing about it in the AutoCAD documentation.
About the MAKELISPAPP command, I believe it should have the option of creating a FAS instead of a VLX if only LSP files are selected. It should also include those features from the VLISP Project that are missing like:
-Choosing Internal link mode, so the compiler tries to resolve all explicit function calls by referencing the function's definition in memory.
-Selecting Localize variables, so the compiler would also remove all local symbol names directly linking their references.
-We could also select Safe optimize to reject problematic optimizations.
-Full reports Message Mode so we have all the information including errors, warnings and compiler statistics.
In other words, AutoCAD could merge the Project window that is now missing if VLIDE > 0 with the MAKELISPAPP Wizard window in order to preserve all these options.

I have been considering how to update the books I've written on Visual LISP to the new situation with the projected phasing out of VLIDE. But it seems to me that all this, the AutoLISP extension for VS Code, the LISPSYS environments, and the MAKELISPAPP workaround are a bit inmature.
As a temporary solution I decided to publish an addendum to both my English and Spanish books, rewriting those chapters that deal with the VLISP IDE to the new VS Code option. In the Spanish version I have experimented with changing the default user interface language by installing the Spanish Language Pack.

For those who may be interested, the books are now available in Amazon:
English: https://www.amazon.com/dp/B087646CY6
Spanish: https://www.amazon.com/dp/B087SGS4TG

John Kaul (Se7en)

  • Administrator
  • Needs a day job
  • Posts: 9476
Re: Visual LISP Extension for Microsoft Visual Studio
« Reply #7 on: August 02, 2020, 06:11:18 PM »
Thanks for the link! That's actually the post I was thinking of when I posted this topic. I was hoping you had time to get around to trying out the "debugging/send to AutoCAD" part. None the less, the information contained will be invaluable when I finally make time to try out the plugin.

Thanks for the thought. Hope it was a good post for you. Sorry, no, I haven't had a chance. However, I do not have 2021 so I doubt I would be able to get to that portion anytime soon.
TheSwamp.org (serving the CAD community since 2003)

Donate to TheSwamp.org

kdub

  • Mesozoic relic
  • SuperMod
  • Swamp Rat
  • Posts: 1379
  • class keyThumper<T>:ILazy<T>
Re: Visual LISP Extension for Microsoft Visual Studio
« Reply #8 on: August 02, 2020, 06:23:40 PM »
Jeeze .. I walk away from the Industry for a year or so and they finally decide to drag themselves into the 20th century :)

Hope the book is received well Reinaldo.

John, I've noticed that you've been doing some work setting up projects automagically ... nice stuff !

From past experience, it may take a couple years to shake out the bugs and develop a good workflow.

Good fortune all !!

Stay Well.
called Kerry in my other life

Sometimes the question is more important than the answer.
#ridesober

John Kaul (Se7en)

  • Administrator
  • Needs a day job
  • Posts: 9476
Re: Visual LISP Extension for Microsoft Visual Studio
« Reply #9 on: August 02, 2020, 06:28:35 PM »
The VSCode extension is a good solution for Autodesk because then they have less to maintain (saving themselves money) while offering the end user the ability to utilize an industry std editor.

When I coded in Autolisp I never used the VLIDE and I wasn't alone; I know several people who have favorite text editors. Although, using your own editor you don't have access to the debugging (I understand newer developers would want that).
TheSwamp.org (serving the CAD community since 2003)

Donate to TheSwamp.org

John Kaul (Se7en)

  • Administrator
  • Needs a day job
  • Posts: 9476
Re: Visual LISP Extension for Microsoft Visual Studio
« Reply #10 on: August 02, 2020, 06:29:18 PM »
Jeeze .. I walk away from the Industry for a year or so and they finally decide to drag themselves into the 20th century :)

Hope the book is received well Reinaldo.

John, I've noticed that you've been doing some work setting up projects automagically ... nice stuff !

From past experience, it may take a couple years to shake out the bugs and develop a good workflow.

Good fortune all !!

Stay Well.

I hope it gets used.
TheSwamp.org (serving the CAD community since 2003)

Donate to TheSwamp.org

kdub

  • Mesozoic relic
  • SuperMod
  • Swamp Rat
  • Posts: 1379
  • class keyThumper<T>:ILazy<T>
Re: Visual LISP Extension for Microsoft Visual Studio
« Reply #11 on: August 02, 2020, 09:59:17 PM »
The VSCode extension is a good solution for Autodesk because then they have less to maintain (saving themselves money) while offering the end user the ability to utilize an industry std editor.
< .. >
Also, no-one in the place actually knew how it worked ... true story.
called Kerry in my other life

Sometimes the question is more important than the answer.
#ridesober