ThFriedrich / lammps_vscode

VSCODE extension for language support of LAMMPS scripts
https://thfriedrich.github.io/lammps_vscode/
GNU General Public License v2.0
44 stars 14 forks source link

read_data syntax error #39

Closed testlolla closed 2 years ago

testlolla commented 2 years ago

Describe the bug So the extension say that a file doesn't exist in my folder but it does.

To Reproduce go to a folder with any data files. Open a lammps script and type: read_data data_file_name

Expected behavior There shouldn't be a red underline.

Screenshots

Screen Shot 2022-06-21 at 1 13 56 PM
ThFriedrich commented 2 years ago

Hi @testlolla, thanks for reporting this. However, I can't seem to reproduce this. Can you check, you are using the latest version? Another reasons I could imagine is: Perhaps you changed the 'file_name' from something wrong to something correct, and the error didn't disappear automatically? (That would be because all the checks are triggered only on certain events, like saving the file for example, which is just more efficient than using a timer.) Otherwise I'd need more context, especially your OS could be relevant.