Closed bryanwood closed 9 years ago
+1 for me.
Steps:
{
and delete spaces in front of it until aligned leftmost.Atom Version: 0.194.0 System: Mac OS X 10.10.3 Thrown From: omnisharp-atom package, v0.3.0
Uncaught TypeError: Cannot read property 'getBufferPosition' of undefined
At /Users/ryanmeyer/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1269
TypeError: Cannot read property 'getBufferPosition' of undefined
at TextEditor.module.exports.TextEditor.getCursorBufferPosition (/Users/ryanmeyer/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1269:34)
at Function.module.exports.Omni.getEditorContext (/Users/ryanmeyer/.atom/packages/omnisharp-atom/lib/omni-sharp-server/omni.coffee:14:23)
at Function.module.exports.Omni.req (/Users/ryanmeyer/.atom/packages/omnisharp-atom/lib/omni-sharp-server/omni.coffee:33:18)
at Function.module.exports.Omni.codecheck (/Users/ryanmeyer/.atom/packages/omnisharp-atom/lib/omni-sharp-server/omni.coffee:73:8)
at LinterCSharp.lintFile (/Users/ryanmeyer/.atom/packages/omnisharp-atom/lib/omnisharp-atom/linter.coffee:43:14)
at /Users/ryanmeyer/.atom/packages/linter/lib/linter-view.coffee:163:18
at Array.forEach (native)
at /Users/ryanmeyer/.atom/packages/linter/lib/linter-view.coffee:162:18
at FSReqWrap.oncomplete (fs.js:77:15)
2x -0:35.9.0 core:backspace (atom-text-editor.editor.is-focused)
-0:34.8.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
-0:34.8.0 snippets:expand (atom-text-editor.editor.is-focused)
-0:34.8.0 editor:indent (atom-text-editor.editor.is-focused)
2x -0:34.1.0 core:backspace (atom-text-editor.editor.is-focused)
-0:33.1.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
-0:33.1.0 snippets:expand (atom-text-editor.editor.is-focused)
-0:33.1.0 editor:indent (atom-text-editor.editor.is-focused)
-0:32.5.0 core:save (atom-text-editor.editor.is-focused)
2x -0:32.1.0 core:close (atom-text-editor.editor.is-focused)
2x -0:03.6.0 core:backspace (atom-text-editor.editor.is-focused)
-0:02.8.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
-0:02.8.0 snippets:expand (atom-text-editor.editor.is-focused)
-0:02.8.0 editor:indent (atom-text-editor.editor.is-focused)
-0:01.5.0 core:save (atom-text-editor.editor.is-focused)
-0:00.9.0 core:close (atom-text-editor.editor.is-focused)
{
"core": {}
}
# User
autocomplete-plus, v2.12.0
linter, v0.12.1
omnisharp-atom, v0.3.0
# Dev
No dev packages
@bryanwood pull request or GTFO!
:trollface:
This issue is gone in v.0.6.5
Had project.json and Program.cs file open. Closed .json file then closed C# file
Atom Version: 0.194.0 System: Mac OS X 10.10.2 Thrown From: omnisharp-atom package, v0.3.0
Stack Trace
Uncaught TypeError: Cannot read property 'getBufferPosition' of undefined
Commands
Config
Installed Packages