void RemoveTypeScriptFileFromContext(FileName fileName) { if (TypeScriptParser.IsTypeScriptFileName(fileName)) { TypeScriptContext context = TypeScriptService.ContextProvider.GetContext(fileName); context.RemoveFile(fileName); } }
public void UnregisterSourceFile(IEditor editor) { _typeScriptContext.RemoveFile(editor.SourceFile.FilePath); dataAssociations.Remove(editor.SourceFile); }
public void UnregisterSourceFile(AvaloniaEdit.TextEditor editor, ISourceFile file) { _typeScriptContext.RemoveFile(file.FilePath); dataAssociations.Remove(file); }
public void UnregisterSourceFile(TextEditor.TextEditor editor, ISourceFile file) { _tsContext.RemoveFile(file.FilePath); dataAssociations.Remove(file); }