简体   繁体   中英

Can I use code snippets in a Visual Studio configuration file?

I'd like to prevent looking up a piece of configuration code every time I create a new application. Therefore I thought of using a code snippet, but I can't seem to find out how to use snippets in a configuration file.

Is this even possible?

If your configuration file is XML format, you could create code snippets for XML language. You can make it similarly a creating basic code snippet only by specifying the XML language. For more, see here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM