mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 01:25:36 -05:00
Notebooks: fix save as csv/excel/json/xml (#14882)
* add getEncoding method to notebooks * fix row 501 missing in serialization * fix row index * pr comment
This commit is contained in:
@@ -45,4 +45,8 @@ export class FileNotebookInput extends NotebookInput {
|
||||
public getTypeId(): string {
|
||||
return FileNotebookInput.ID;
|
||||
}
|
||||
|
||||
public getEncoding(): string | undefined {
|
||||
return this.textInput.getEncoding();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,4 +42,8 @@ export class UntitledNotebookInput extends NotebookInput {
|
||||
public getTypeId(): string {
|
||||
return UntitledNotebookInput.ID;
|
||||
}
|
||||
|
||||
public getEncoding(): string | undefined {
|
||||
return this.textInput.getEncoding();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user