2019-04-17 21:21:07 +03:00
|
|
|
# DAML Studio
|
2019-04-04 11:33:38 +03:00
|
|
|
|
|
|
|
DAML Studio extends Visual Studio Code with the following DAML-specific
|
2019-06-26 15:56:15 +03:00
|
|
|
features:
|
2019-04-04 11:33:38 +03:00
|
|
|
|
|
|
|
- DAML syntax highlighting
|
|
|
|
- Real-time feedback on parse, name resolution, type-checking and
|
|
|
|
Scenario interpretation errors and viewer for the resulting ledger
|
|
|
|
- Jumping to and peeking at the definition of referenced toplevel functions
|
|
|
|
- Type-information on hover
|
|
|
|
- Renaming of symbols
|
|
|
|
- DAML snippet support
|
|
|
|
|
2019-06-26 15:56:15 +03:00
|
|
|
Please note that this will only install the VSCode extension. Full use of the
|
|
|
|
above features will also require that you have a working DAML SDK installed,
|
|
|
|
which you can get with:
|
|
|
|
|
|
|
|
```
|
|
|
|
curl -s https://get.daml.com | sh
|
|
|
|
```
|
|
|
|
|
|
|
|
For more information on DAML please see [docs.daml.com](https://docs.daml.com).
|
2019-04-04 11:33:38 +03:00
|
|
|
|
|
|
|
## Troubleshooting
|
|
|
|
|
2019-06-26 15:56:15 +03:00
|
|
|
The DAML language server log output is available under the "Output" panel
|
|
|
|
(View->Output). Select "DAML Language Server" from the dropdown in the panel
|
|
|
|
to see the log.
|
2019-04-04 11:33:38 +03:00
|
|
|
|
|
|
|
## Debugging
|
|
|
|
|
2019-06-26 15:56:15 +03:00
|
|
|
Run `make` then open this directory in Visual Studio Code. Then click Debug ->
|
|
|
|
Start Debugging to run the extension in Debugging mode.
|