anzwdev / al-code-outline

AL Code Outline for Visual Studio Code
MIT License
51 stars 13 forks source link

Internal symbols processing - namespaces and usings #520

Closed anzwdev closed 6 months ago

anzwdev commented 9 months ago

This is a big change to the internal part of the extension. Currently all objects are identified by type and name in most of internal methods of the extension. It stlll works with the latest version of AL language, but will start causing problems when AL developers start creating objects with the same names in different namespaces.

anzwdev commented 8 months ago

I am still in the middle of this big refactoring but I've managed to do a partial released with the big refactoring finished. Released version contains updastes in code outline view, namespaces information for parsed symbols, symbols search changes and new commands to sort usings, remove unused usings and convert whole AL extension project to namespaces. There are still some missing parts to achieve 100% namespaces support (i.e. wizards should use namespaces if there are any files with namespace declaration in the project), but most of required work is done.