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

Provide encoding-related APIs for editor extensions #239961

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

bpasero
Copy link
Member

@bpasero bpasero commented Feb 7, 2025

for #824

export interface TextDocument {

	readonly encoding: string;

	save(options?: { encoding?: string }): Thenable<boolean>;
}

export namespace workspace {
	export function openTextDocument(uri: Uri, options?: { encoding?: string }): Thenable<TextDocument>;
	export function openTextDocument(path: string, options?: { encoding?: string }): Thenable<TextDocument>;
}

@bpasero bpasero self-assigned this Feb 7, 2025
@bpasero bpasero changed the title wip draft Provide encoding-related APIs for editor extensions Feb 13, 2025
@lygstate
Copy link

long waiting, thanks!

@bpasero bpasero added this to the On Deck milestone Feb 13, 2025
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