VSCode-ObjectScript next release 0.7.9

I'm pleased to announce the latest version of extensions for ObjectScript. Just a month has gone since my latest update, and I already have something new to show.

Important. In this version connection to the server will be disabled by default. You have to activate connection through the settings:"objectscript.conn.active" = true.

Multi-Root Workspace

VSCode has a very interesting feature multi-root workspace. It may help in case if your project has different parts in different languages, so, you can split settings. And since this version vscode-objectscript also can be used in such environment, so, you configure multiple connections and work with different servers in one editor. Which connection used a the moment, you can find in status bar. Just switch between files in different workspace roots, and you will see the changes.

Explorer now also supports showing code from different servers at the same time, if you use multi-root workspace.

Navigation by code

  • Previously when you were navigated to another file, it was opened from the server, even if it was already opened locally. Now you, in any files navigation, first it looking for a local file and then ta a server.
  • You can go to any class just by searching it by Go To Symbol in Workspace functionality (Cmd+T/Ctrl+T). You can put there any Class name or Method name, it will be searched on a server.
  • Go to macros definition.
  • Show subclasses and superclasses, with navigation to this class.


  • Go To definition to Class/Method/Parameter in ##class()
  • Go To definition to Method/Parameter/Property for a current object with ..

Snippets

  • Added simple snippets for Class, Parameter, Property, ClassMethod and Method.

Intellisense

  • List of ClassMethods and Parameters when you use ##class()
  • List of any Methods and Properties after double dots ..

Other new features

  • If you have files exported in XML format, you can now see how they would look in UDL format, by command or you can activate auto preview such files in settings.
  • You can now export classes from a server without storage
  • CSP files now recognized just as HTML files.

Fixed errors

  • Fixed some syntax highlighting issues.
  • Fixed highlighting for XData with CSS in style tag.
  • Fixed showing percent-members in Classes available in outline, and percent-labels in routines.

Fill free to fill any issues you faced when used this extension, or any new features you would like to see here.

Comments

Hi Dimitry,

the new version refuses to work with installations with V2 Atelier api, I always get the error message:

Failed to load page "/api/atelier/v3/JISD/docnames/CLS/*", status code: 404

Will you support older installations with V2 API support only?

Anyway ...

Thanks for creating the extension. It seriously rocks!

Jiri

Hi Jiri, please fill the issue. I will add a check for any previous versions of API. So, something which will require a newer version of API, will not work, but others should work.

I need a new good icon for the project, can anybody suggest or draw something?

Hi Dmitry,

thanks for your great work.

I have just installed this extension. Before I have been using the cos-extension.

As I'm still working on 2016.2 with atelier v1 I have modified the extension and redirected the requests to [server]/api/atelier/v1 which works quite fine as long as I do not export or even watch more than 135 sources, as this exceeds my license.

As far as I can see, each request opens a new session until the limit is reached and atelier doesn't answer anymore.

Do I do something wrong? Will it work fine with v3?

Thanks in advance.

Mirko

Hi, very interesting, could you the issue, I'll try to investigate it. And I think I will make next release with API version fix out of the schedule.

Just published version 0.7.10:

  • New logo
  • Fixed backward compatibility with previous versions of Atelier API
  • Fixed issue with license usage, due to losing cookies
  • Some other small fixes