"No Outline Available: There is Likely an Error with the Language Package" #177
Comments
If you open Atom's console (cmd-opt-i), do any uncaught exceptions or rejections appear? |
Given that autocompletion also isn't working for you, this seems like a deeper problem - |
Hi @JosephTLyons can you try turning on debugging and see what messages you get?
and then restart Atom. You should see more detail then in the dev tools window. I'm going to close the issue here as it's not atom-ide-ui going wrong here - it's either ide-html or atom-languageclient or atom but we may as well continue the discussion here. |
Made that boolean for debug true, closed Atom and reopened, then ran the outline command. I don't see very many new details however. And just to reiterate, I have this issue with all ide-language packages, not just HTML. I just used HTML for this specific example, but the same happens in IDE-Python, IDE-CSharp, etc. So I assume its not a language-specific issue, but something that is common amongst them all (not very specific, but this is out of my scope of knowledge). |
Ah, do you have tree-sitter experimental support enabled? |
Not that I'm aware of. I'm on Atom 1.24.0 and that new tree-sitter isn't included until Atom 1.25.0 (beta) to my knowledge. I double-checked and there is no such setting on my end in 1.24.0 |
Can you try pressing ctrl-; in the html editor and paste here a screenshot of the 'scopes at cursor' that comes up? |
Hmmm, pressing |
On Mac OS I believe it's cmd-opt-P. |
OS-agnostic. Open the file-in-question. While that tab is active, open dev tools, and paste this in the console. atom.workspace.getActiveTextEditor().getLastCursor().getScopeDescriptor().getScopesArray() |
Would anyone else have any helpful tips? Sort of at a loss for what to try next or if it will have to a code fix down the line. |
I'm at a loss to explain why it isn't working on your machine. |
@damieng , that's ok. I really appreciate you trying to help me. I suppose will just keep all aspects of Atom IDE disabled and check into it whenever an update comes up. Thanks again. |
Just curious, why would enabling |
Ah, it seems that the scope changes with AtomLinter/linter-eslint#1076 |
Yes, the scope names change with tree-sitter and packages need to update. Looks like the AtomLinter update should be out soon. |
I just updated to the newest Atom with tree-sitter, but It’s been turned off the entire time. |
I had the same problem (on linux) and the real issue was that I need to |
As an update, IDE is working for me more now than before. Before, nothing worked in any languages. Now, ide-rust works perfectly (diagnostics and outline view and such) and ide-csharp seems to be catching syntax errors and such, still no outline view, but progress it seems. |
Description
"No Outline Available: There is Likely an Error with the Language Package," is the message I get with every language that I have ide-language packages for. C#, HTML, Python,.. etc. I haven't been able to use any of the IDE features introduce by installing atom-ide-ui+a language package. Diagnostics, advanced completion, etc. There is no sign of anything working.
Expected Behavior
The feature set to work as described.
Actual Behavior
Same as description.
Versions
The text was updated successfully, but these errors were encountered: