Skip to content

Conversation

csabahruska
Copy link
Collaborator

  • Fix package.json type attribute
  • VSCode templates default to .ghc_stgapp
  • Factor out the dap library from the estg-dap server executable

moduleInfos <- liftIO $ getModuleListFromFullPak program
ghcstgappPath <- liftIO $ findProgram program >>= \case
[fname] -> pure fname
names -> fail $ "ambiguous program path, multiple matches: " ++ show names
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potentially need to handle the empty match [] case.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using sendError as opposed to fail

# dap-extension README

This is the README for your extension "dap-extension". After writing up a brief description, we recommend including the following sections.
This is the README for your extension "dap-estgi-extension". After writing up a brief description, we recommend including the following sections.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might need to continue this renaming in a few more places:

dap-estgi-server/src/Main.hs
120:-- >      "type": "dap-extension"

dap-estgi-vscode-extension/CHANGELOG.md
3:All notable changes to the "dap-extension" extension will be documented in this file.

dap-estgi-vscode-extension/README.md
1:# dap-extension README

dap/session/Main.hs
91:-- >      "type": "dap-extension"

Copy link
Collaborator

@dmjio dmjio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dmjio dmjio merged commit 5bc64b7 into master Jul 6, 2023
@dmjio dmjio deleted the dap-estgi-work branch July 6, 2023 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants