Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable setting breakpoints in java and scala files #165

Merged
merged 1 commit into from
Dec 19, 2019
Merged

Enable setting breakpoints in java and scala files #165

merged 1 commit into from
Dec 19, 2019

Conversation

mzarnowski
Copy link
Contributor

Previously, metals didn't allow the user to set breakpoints in any file. Now, they can be set in any java or scala file.

Copy link
Member

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

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

LGTM 👍 I'm very excited to try this out!

@@ -214,6 +214,14 @@
}
]
},
"breakpoints": [
Copy link
Member

Choose a reason for hiding this comment

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

Is there a way to conditionally add this capability based on the server version? If not I guess we'll just have to live with it. The next stable version of Metals should come out soon

Copy link
Member

Choose a reason for hiding this comment

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

Judging by the docs, I don't think so.

we use the breakpoints contribution point to list the languages for which setting breakpoints will be enabled. Without this, it would not be possible to set breakpoints

Copy link
Member

Choose a reason for hiding this comment

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

Fair enough

Copy link
Member

@gabro gabro left a comment

Choose a reason for hiding this comment

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

💃

Copy link
Member

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

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

Let's merge this as soon as scalameta/metals#1163 is merged.

@mzarnowski mzarnowski merged commit b783ba6 into scalameta:master Dec 19, 2019
@mzarnowski mzarnowski deleted the dap/enable-scala-breakpoints branch December 19, 2019 08:24
kasiaMarek pushed a commit to kasiaMarek/metals-vscode that referenced this pull request Mar 29, 2023
…rn/types/semver-7.3.2

Bump @types/semver from 7.3.1 to 7.3.2
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.

3 participants