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

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -

java - Callback from new thread to class from which thread was initiated -