提交 cee43d73 编写于 作者: M Martin Aeschlimann

support goto for file uris arguments

上级 4bed3a88
......@@ -1017,6 +1017,14 @@ export class WindowsManager implements IWindowsMainService {
return this.parsePath(uri.fsPath, options);
}
if (isFile) {
if (options && options.gotoLineMode) {
const parsedPath = parseLineAndColumnAware(uri.path);
return {
fileUri: uri.with({ path: parsedPath.path }),
lineNumber: parsedPath.line,
columnNumber: parsedPath.column
};
}
return {
fileUri: uri
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册