JosefNemec / LiteDbExplorer

Viewer and editor for https://github.com/mbdavid/LiteDB databases.
MIT License
218 stars 104 forks source link

Ignore Comment Lines #36

Closed mzhukovs closed 5 years ago

mzhukovs commented 5 years ago

Looks like the editor correctly highlights lines preceded with a double-dash, i.e. "--" in green, or between "/" and "/", thereby indicating they are recognized as comments. However, when pushing F5, the tool does attempt to run that as code and the comment does not get ignored, hence the following error would appear:

Error on Query 1: 'db.--' Command 'db.--' is not a valid shell command.

Would be great to ignore commented out lines/blocks

JosefNemec commented 5 years ago

From readme:

This repository is no longer maintained, check out julianpaulozzi's fork for more updates.