vipmax / edgo

Yet another console text editor, but with lsp support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edgo still incorrectly marks 1st line as a test

qwertzy-antonio-godinho opened this issue · comments

Hi, thank you for looking at this, but there is still one instance where it wrongly IDs a test where there is none, line 1. It seems that for some reason edgo always marks the first line as a test. It can be also seen on your screen shot in #2.

Hi, this is fine, cause it is necessary for python file execution

You mean by default edgo will always mark the first line on any python file as a test, even if there is no shebang in the file? Or the line is empty?

For some languages, it is possible to execute a file using a single command. Edgo adds a green button and spawns some process depending on the language when clicked. For example go, python, js, ts, java, bash.
Shebang is not supported yet, but in the future, of course, it will be.

For some languages, it is possible to execute a file using a single command. Edgo adds a green button and spawns some process depending on the language when clicked. For example go, python, js, ts, java, bash.
Shebang is not supported yet, but in the future, of course, it will be.

Would you consider then making this play icon having a different colour to differentiate from execution of tests? Either way this issue can be closed