Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find symbols, find references, format code does not work on Ubuntu 15.04 #156

Closed
khagesh opened this issue Nov 19, 2015 · 10 comments
Closed
Labels
info-needed Issue requires more information from poster
Milestone

Comments

@khagesh
Copy link

khagesh commented Nov 19, 2015

I am still using 0.8.0 and these things works fine on this version. However, all the releases after it does not work properly.

Kudos to whole team for creating a fast editor that works cross platform.

@bpasero
Copy link
Member

bpasero commented Nov 19, 2015

@khagesh what language you are writing?

@khagesh
Copy link
Author

khagesh commented Nov 19, 2015

@bpasero TypeScript and .tsx files does not support find symbols and find references. Format code does not work for .html, .scss, .ts or .tsx. These are the only file types that I have tried.

@aeschli
Copy link
Contributor

aeschli commented Nov 19, 2015

@khagesh .scss has no formatting support. I just tried HTML, TS ans TSX, all seem to work.

  • put some unnessary indent in a file
  • put the cursor in the file, or select the range to be formatted
  • call format from the context menu
    Does your code have syntax errors that might prevent the formatter from parsing the file?

@khagesh
Copy link
Author

khagesh commented Nov 19, 2015

@aeschli thanks for taking time for this issue. I ran ts compiler (1.7) on both .ts and .tsx files and it did not throw any error. Do you want any extra information (node version, any Ubuntu logs, etc.) that might be helpful for fixing this issue?
Format from menu also does not work, no Intellisense support as well.

@aeschli
Copy link
Contributor

aeschli commented Nov 19, 2015

@khagesh Are the menu actions enabled, but just have no effect?
Is it with all files, or a specific one?
Can you open the dev tools ( F1 > Toggle Developper Tools ) and check for any messages in the Console tab?

@jrieken jrieken added the info-needed Issue requires more information from poster label Nov 24, 2015
@alexdima
Copy link
Member

@khagesh ping. Any more information you can provide to help us reproduce this issue?

@khagesh
Copy link
Author

khagesh commented Dec 6, 2015

I am sorry for not replying earlier. I have checked console tab as well, there is no message/error printed. I checked it on my colleague's machine as well and he is also having same issue.
This happens only for .ts and .tsx files, I downloaded latest version today as well and it had same issue.
Please let me know, if there is anything that I can do to help you.

@egamma egamma modified the milestone: Backlog Dec 10, 2015
@egamma
Copy link
Member

egamma commented Dec 14, 2015

We cannot reproduce this in the December update that will be published end of this week. Please file a new issue if the problem persists.

@egamma egamma closed this as completed Dec 14, 2015
@khagesh
Copy link
Author

khagesh commented Dec 19, 2015

I tried it in the latest version and I still can't get it to work for .ts or .tsx files.
I am using Ubuntu 15.04 with 64 bit version of vscode. Find all references, find symbols, go to definition, intellisense, nothing works. I have tried it in 3-4 machines in our office and it does not work on those machines as well.

I can lookup the code and try to debug the issue, can you please point me to some location in code which is either an starting point or somewhere related to these functionalities.

@egamma
Copy link
Member

egamma commented Dec 20, 2015

I tried it in the latest version and I still can't get it to work for .ts or .tsx files.

Are you referring to format or find references?

When it is find references I suspect something with your setup. Do you have tsconfig.json defined (https://code.visualstudio.com/docs/languages/typescript)?

Can you try this project https://github.com/Microsoft/vscode-samples/tree/master/node-express-typescript and do a reference search in src\app.ts.

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

6 participants