arthwang / vsc-logtalk

MIT License
3 stars 6 forks source link

WIP: Update for syntax from the distro 3.19.0 #6

Closed pmoura closed 6 years ago

pmoura commented 6 years ago

Created as WIP as the CHANGELOG.md file is missing the description of changes in the current version, 0.3.9. Can you fill the missing information?

A second question: is the contents of the snippets/logtalk.json file generated manually or automatically? In this pull request, is currently missing the description of the new built-in predicates.

arthwang commented 6 years ago

snippets/logtalk.json contains two parts: 1)doc information that is generated from your documents 2)snippets you write manually It's ok to directly modify logtlak.json if we don't want to update the doc information.

pmoura commented 6 years ago

The required update to the snippets/logtalk.json file is adding the documentation information on the new error built-in methods (instantiation_error/0, type_error/2, ...). If you have that processed automated (as you hint in your reply), can you run it to update the snippets/logtalk.json file? Otherwise I can add the missing documentation manually and open a new pull request.