visual studio code - How to access the editor in vscode tests -


i creating extension vscode reformats part of editor text.

how can make test this.

i can't figure how create texteditor inside test simulate opened file.

you should able open vs code test file.

see document: https://code.visualstudio.com/docs/extensions/testing-extensions

not sure if can test against looking though. might able check errors, rather test "is ui element here?"


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -