Title: Unable to determine the scope of the class · Issue #541 · redhat-developer/vscode-java · GitHub
Open Graph Title: Unable to determine the scope of the class · Issue #541 · redhat-developer/vscode-java
X Title: Unable to determine the scope of the class · Issue #541 · redhat-developer/vscode-java
Description: I have 2 directories and each of them has a file which has the same name. Now vscode-java is unable to differentiate between these two files. Thus this has resulted into unavailability of autocomplete feature and the docstring of various...
Open Graph Description: I have 2 directories and each of them has a file which has the same name. Now vscode-java is unable to differentiate between these two files. Thus this has resulted into unavailability of autocompl...
X Description: I have 2 directories and each of them has a file which has the same name. Now vscode-java is unable to differentiate between these two files. Thus this has resulted into unavailability of autocompl...
Opengraph URL: https://github.com/redhat-developer/vscode-java/issues/541
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to determine the scope of the class","articleBody":"I have 2 directories and each of them has a file which has the same name.\r\nNow vscode-java is unable to differentiate between these two files.\r\nThus this has resulted into unavailability of autocomplete feature and the docstring of various functions and methods.\r\n\r\n##### Environment\r\n- Operating System: ElementaryOS x64\r\n- JDK version: javac 1.8.0_171\r\n- Visual Studio Code version: 1.23.1\r\n- Java extension version: 0.25\r\n\r\n##### Steps To Reproduce\r\n1. First compile the _Hello.java_ file in **folder1**\r\n2. then open the **folder2** and try to use any method from the class in the same directory\r\n3. Notice that autocomplete will provide wrong or maybe no hints at all as there is same java file in both directory i.e. **Phone.java**.\r\n\r\n\r\n\r\n[folder1](https://drive.google.com/open?id=1HXaKOmwL6tnXkUCCIVEsMgAOp2G_dlkT)\r\n[folder2](https://drive.google.com/open?id=1Fd7UKxnSpY0l9GRmlHFBvWjwfyj-3X_v)\r\n\r\n\r\n##### Current Result\r\n\r\n##### Expected Result\r\n\r\n##### Additional Informations\r\nIs this because that vscode-java takes the entire scope in consideration means if one class has already been compiled then the methods and attributes of that class will be shown at other places too?","author":{"url":"https://github.com/rajkumarGosavi","@type":"Person","name":"rajkumarGosavi"},"datePublished":"2018-05-25T19:10:40Z","url":"https://github.com/redhat-developer/vscode-java/issues/541"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:457f09f3-3a78-24b8-1a12-ddad45f0d7a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C364:69E89:9CD1:C7A8:6B073499 |
| html-safe-nonce | 8f846bb0d6e765ae19455c63bc9f1b6dbac38180ba32e6f1681b197135c334f1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzY0OjY5RTg5OjlDRDE6QzdBODo2QjA3MzQ5OSIsInZpc2l0b3JfaWQiOiI4MDczNTU3MjIxMzI3NzEzNDMzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7803c7b93bfd5f2877468052251ac81c4ce7ea465caac7b04f802a44f5f832a5 |
| hovercard-subject-tag | issue:326633751 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/redhat-developer/vscode-java/541/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c2fe12bd1cbb737641c2a6f44c9ee8b49d8f3560762c1943773f33c108e5d6f8/redhat-developer/vscode-java/issues/541 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c2fe12bd1cbb737641c2a6f44c9ee8b49d8f3560762c1943773f33c108e5d6f8/redhat-developer/vscode-java/issues/541 |
| og:image:alt | I have 2 directories and each of them has a file which has the same name. Now vscode-java is unable to differentiate between these two files. Thus this has resulted into unavailability of autocompl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rajkumarGosavi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a60952cad7efb2604ea85e500208f51c1ec1943aa260ac605c13eb46a1ed83b |
| turbo-cache-control | no-preview |
| go-import | github.com/redhat-developer/vscode-java git https://github.com/redhat-developer/vscode-java.git |
| octolytics-dimension-user_id | 11033755 |
| octolytics-dimension-user_login | redhat-developer |
| octolytics-dimension-repository_id | 65561709 |
| octolytics-dimension-repository_nwo | redhat-developer/vscode-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65561709 |
| octolytics-dimension-repository_network_root_nwo | redhat-developer/vscode-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 345c27626db08417fdfc84278a4415ae9a48d8f3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width