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

Filter references by filename, fixes #28. #32

Merged
merged 1 commit into from
Jul 2, 2017
Merged

Filter references by filename, fixes #28. #32

merged 1 commit into from
Jul 2, 2017

Conversation

olafurpg
Copy link
Member

@olafurpg olafurpg commented Jul 1, 2017

It seems to be working nicely now

screen shot 2017-07-01 at 23 05 03

@olafurpg olafurpg requested a review from jonas July 1, 2017 21:06
Copy link
Collaborator

@jonas jonas left a comment

Choose a reason for hiding this comment

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

Good to finally decouple creation of the editor and the model.

val model = monaco.editor.Editor.createModel(
value = contents,
language = "scala",
uri = monaco.Uri.parse(s"file:$fileName")
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think we should use a custom URI scheme like semanticdb to make sure nothing is automatically loaded by the editor or browser.

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree, we can do that once #19 is done, I still haven't wrapped my head around IModel and content providers

@olafurpg olafurpg merged commit 4222a72 into master Jul 2, 2017
@olafurpg olafurpg deleted the 28 branch July 2, 2017 11:29
@olafurpg olafurpg mentioned this pull request Jul 2, 2017
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.

None yet

2 participants