Todo file in vs code. how to use it - visual-studio-code

hi i created a file in vs code named "todo" and it got a checkmark icon. I thought that this could be used somehow, but didn't find any information about it. what does it look like. how it can be used?

I was wondering exactly the same thing! I haven't been able to find any native functionality of VSCode that deals with ToDo files, however I did find ToDo Tree, a neat looking extension which will provide highlighting for any todo/bug(etc) comments, and also group them together in the activity bar.
Find more info on Thomas Venturini's blog post

It is just an icon indicating the file type.
VS Code doesn't have any native features for doing anything special with TODO files.
There may be extensions on the marketplace that could do something with the format.

Related

How to show a tutorial for vscode extension?

I am building an extension for VsCode and wanted to show a small tutorial on how to use it, but I can't find an appropriate API for that. Obviously, I can save some variables in the global state to follow user progress and use some FE framework to do some drawing in a webview, but it feels very custom. I saw that VSCode shows a tutorial on initial installation and hoped I can do the same.
In VSCode it is called a walkthrough and is defined simply in package.json. Here is a link to this API: https://code.visualstudio.com/api/references/contribution-points#contributes.walkthroughs
and this an example project https://github.com/microsoft/vscode-extension-samples/blob/main/getting-started-sample/package.json#L39
It is pretty easy to define and use. It accepts text, media files, and markdown files.

How do I configure VS Code to auto-complete / closing of HTML elements in PHP files like Adobe Brackets does?

Adobe just slapped me with horrible news saying they will end support for the Brackets Editor and we need to switch to VS Code.
I wasted an hour already just to have auto-closing of tags to work.
Here is a video explaining exactly what I want.
https://imgur.com/a/tLWpU4x
I want to be able to have auto-close work for HTML elements in a PHP file like it does without issue on Adobe Brackets.
VS Code has a lot of extension for this kind of need. I personally use HTML Snippets.
Just navigate to extensions tab, search HTML Snippets then click install.
Please check this link for your reference. You can find some extension which could cater your needs.

VSCode custom snippets list in activitybar/sidebar - extension recommendation?

Dear fellow VSCode users!
My collection of custom snippets has become rather vast lately, with all of documentation writing that I have to do. And it's becoming kind of difficult to remember all the shortcuts.
I know I can search for snippets and browse their list via the command palette, but it requires quite some extra typing and/or clicking.
Is there an existing extension that would add a new activity bar icon and provide a list of all user-defined snippets in the sidebar, allowing one to simply click on the desired snippet and thus insert it?
I imagine I'm not the only person on the planet to desire such a feature, but I honestly can't seem to be able to find it searching the Marketplace or using Google.
Thanks for all your suggestions.
Just made an extension. Snippets View. Tested only on Windows.
It's not complete yet, but has basic functionality...

Snipmatch Code Recommender plugin does not work for custom repository

I just created a repository to share our team snippets, and although everyone can see, update, and push new snippets, none of them appear on the Java Editor auto complete.
For testing purposes I created a new snippet (arrayremove) copying the configuration from an existing one (arraymerge).
What am I doing wrong? Am I missing something? Or is this a bug?
Quick Answer
You have to press CTRL+ALT+SPACE to start the Snipmatch snippet search. Snipmatch snippets will not appear in the normal content assist popup.
Background
As one of the developers of the Code Recommenders Snipmatch plugin, let me give you a little bit of background information.
Snipmatch uses a separate shortcut to trigger a search to allow more intelligent snippet searches. For example, the search string may contain spaces and will find keywords defined as an Extra Search Term or as a Tag. Or you can use wildcards * in your search string.
You can change the shortcut on the Preferences > General > Keys preference page. Look for the Snipmatch Snippet Completion binding.
For more information, have a look at the Snipmatch manual.
if you need further support with Snipmatch, you can also contact me directly or go to the Code Recommenders forum.

Is there a way to create templates for text files in Eclipse?

In Eclipse, I really enjoy being able to create templates for things I commonly write in Java and XML. While there is some room for improvement, templates have proven to be quite the time saver. Today I was documenting some notes in the release notes. We have a specific format that we write said release notes in. I thought it would be handy to write a small template so that I could easily insert most of the boiler plate text when I amend the notes. So I dug around the eclipse settings and didn't see anything for plain text files. I googled around and also didn't see anything.
So is what I'm wanting to do possible in Eclipse? Is there a plugin I would need to enable such a feature?
I assume the closest you can get is using Snippets
Add the view by clicking Window -> Show View -> Snippets. In that view, right-click and select Customizeto create custom snippets. You can now add those snippets in your textfile by double-clicking them.
Maybe there is also some shortcut feature I didn't find yet...