Title: Run/debug multiple single file programs with the same name · Issue #1645 · redhat-developer/vscode-java · GitHub
Open Graph Title: Run/debug multiple single file programs with the same name · Issue #1645 · redhat-developer/vscode-java
X Title: Run/debug multiple single file programs with the same name · Issue #1645 · redhat-developer/vscode-java
Description: I have a folder structure where each example lives inside a folder with a single java file that is always named Solution.java. Problem is that because classes are cached I have to manually clean cache before executing 2nd, 3rd, ... examp...
Open Graph Description: I have a folder structure where each example lives inside a folder with a single java file that is always named Solution.java. Problem is that because classes are cached I have to manually clean ca...
X Description: I have a folder structure where each example lives inside a folder with a single java file that is always named Solution.java. Problem is that because classes are cached I have to manually clean ca...
Opengraph URL: https://github.com/redhat-developer/vscode-java/issues/1645
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Run/debug multiple single file programs with the same name","articleBody":"I have a folder structure where each example lives inside a folder with a single java file that is always named `Solution.java`. Problem is that because classes are cached I have to manually clean cache before executing 2nd, 3rd, ... example, is there a way to configure VS Code to support such case, without changing folder structure and file names?\r\n\r\n**Launch configuration:**\r\n```\r\n{\r\n \"name\": \"Java\",\r\n \"type\": \"java\",\r\n \"request\": \"launch\",\r\n \"mainClass\": \"${file}\",\r\n \"cwd\": \"${fileDirname}\"\r\n }\r\n```\r\n\r\n**Folder structure:**\r\n```\r\nroot/\r\n example1/\r\n Solution.java\r\n example2/\r\n Solution.java\r\n```","author":{"url":"https://github.com/arruw","@type":"Person","name":"arruw"},"datePublished":"2020-10-04T11:25:04Z","url":"https://github.com/redhat-developer/vscode-java/issues/1645"}
| 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:c1cabd59-5b05-9c6b-fea9-253eae921a20 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E08A:27B313:140A38:1AE763:6B0734A3 |
| html-safe-nonce | 39ced689b6839cf7c9b7e35287b7a67dc70a07614e1db5fd73fa6e60b28d504d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDhBOjI3QjMxMzoxNDBBMzg6MUFFNzYzOjZCMDczNEEzIiwidmlzaXRvcl9pZCI6IjE4MzA1NTE5NzMyODA2MTYwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5b7741f06475fec216b4ae5343783083123d49dfe69b248f69004f3da551849a |
| hovercard-subject-tag | issue:714292493 |
| 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/1645/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cab89a84e10986e126105abfa28631aab687ea3c24fdec5e7c8182edb30b1f6b/redhat-developer/vscode-java/issues/1645 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cab89a84e10986e126105abfa28631aab687ea3c24fdec5e7c8182edb30b1f6b/redhat-developer/vscode-java/issues/1645 |
| og:image:alt | I have a folder structure where each example lives inside a folder with a single java file that is always named Solution.java. Problem is that because classes are cached I have to manually clean ca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | arruw |
| 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