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

Add MarkdownString.baseUri proposal #142055

Merged
merged 1 commit into from
Feb 3, 2022
Merged

Conversation

mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Feb 3, 2022

For #142051

See that API proposal for details

@mjbvz mjbvz requested a review from jrieken February 3, 2022 02:00
@mjbvz mjbvz self-assigned this Feb 3, 2022
Copy link
Contributor

@gjsjohnmurray gjsjohnmurray left a comment

Choose a reason for hiding this comment

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

I didn't spot where you are checking that the proposed API has been enabled.

Copy link
Member

@jrieken jrieken left a comment

Choose a reason for hiding this comment

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

Generally liking, a few questions

  • what's the default? the extension location? workspace location?
  • how do know what a path and what a file is? is /foo/file/ a folder and /foo/file a file?

@jrieken
Copy link
Member

jrieken commented Feb 3, 2022

I didn't spot where you are checking that the proposed API has been enabled.

That's really hard to classes because every API instance uses the same ctor-function. It would require that we create an extension aware subtype somewhere here. We have been playing this pragmatic but we are also open for suggestions

@gjsjohnmurray
Copy link
Contributor

We have been playing this pragmatic

I don't have a problem with that.

@mjbvz
Copy link
Contributor Author

mjbvz commented Feb 3, 2022

Yes thanks @gjsjohnmurray, this is unfortunately a pretty annoying case to restrict and since the proposal is relatively small I think it's ok

@mjbvz mjbvz merged commit 6989610 into main Feb 3, 2022
@mjbvz mjbvz deleted the dev/mjbvz/markdownstring-baseuri branch February 3, 2022 16:51
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants