This will automatically indent your code and format it when you save your files. A formatter must be available, the file must not be saved after delay, and the editor must not be shutting down. The value is automatically set to “afterDelay” if you activate “Auto Save” in the menu “File”.įormat a file on save. This will make it a lot easier to search stuff in your files.Ĭontrols auto save of dirty editors. Suggested value: Add folder “**/.alcache” to the excluded folders like on the screenshot.Thanks to Waldo for finding this gem. Refer to the Search: Exclude setting to define search specific excludes. For example, the file Explorer decides which files and folders to show or hide based on this setting. For more information, check it out here.Ĭonfigure glob patterns for excluding files and folders. I dedicated a whole post on the snippet suggestions. The default value “inline” sorts the suggestions like shown in the screenshot (first snippets, then the last suggestion “var”).Ĭhanging the setting to “bottom” moves the last suggestion “var” to the top of the list. The default location to clone a git repository.Ĭontrols whether snippets are shown with other suggestions and how they are sorted. I find them useful, you do not have to agree with me. Please note that these are my personal suggestions. Easy to digest and with great screenshots (semi srs). That’s why I’ve summarized some important settings here that can save you a lot of time. It’s enough if a dumb guy like me has nothing better to do and writes it down for the others. Not everyone has the time to deal with all the VS Code Settings. Slowly but surely, even the last dinosaur will venture out of the cosy safety of C/SIDE and C/AL to plunge death-defyingly onto the battlefield of the new programming language AL. If this helps even a single person that did not know this before, then the post was worth it. Maybe all of you already know this and just laugh about this post, then that’s okay. Here is a picture of the setting that you need to change. By default, this setting is set to “inline”.Īfter changing that Snippet Suggestion setting to bottom, the order of my suggestions made more sense. So i checked the settings and found a setting that is called Snippet Suggestions. Unfortunately, it is at the bottom of this suggestion list. The first suggestion I would expect is the suggestion “var”. When I hit Ctrl + Space to activate IntelliSense, the first suggestions are all snippets that do not make sense in this situation. I have an OnAfterValidateTrigger and want to see the suggestions inside the brackets. ![]() ![]() ![]() Picture tell more than words, so I will show you an example. Five minutes ago I was annoyed by Visual Studio Code’s default behavior when it comes to IntelliSense in combination with snippets.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |