microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
733 stars 243 forks source link

Setting to alter default Path of AL Go! (ALGo) command #5615

Open mjmatthiesen opened 4 years ago

mjmatthiesen commented 4 years ago

Describe the bug It always defaults to the following location: 'C:\Users\username\Documents\AL\ALProject1' I would like to change the default root.

To Reproduce Steps and to reproduce the behaviour:

  1. Launch VS Code
  2. F1
  3. AL Go!
  4. See fixed address

Expected behavior Gimme a setting to change the default path.

5. Versions:

dzzzb commented 3 years ago

At the least, it should simply get the location from the user/profile settings, i.e. what we see when right-clicking Documents in "This PC" and checking the Locations tab.

For instance, my org re-maps the Documents folder and its counterparts to a different location, which is synchronised with the cloud. AL should pick up that mapping so that my new projects are created in the place that is (a) correct and does not require me to change the path text or move the later; and (b) automatically backed up meaning I cannot lose work by leaving the project in a wrong, unsynchronised location.

So before adding a setting to specify any folder, at least fix AL to start honouring the real Documents folder per user. Thanks!

dzzzb commented 3 years ago

This was also posted on Ideas, so let's upvote! https://experience.dynamics.com/ideas/idea/?ideaid=107b1381-18f5-eb11-ba5e-0003ff45ac2b