Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Kanishknishar
Total activity
35
Last activity
April 12, 2024 21:31
Member since
July 05, 2022 22:23
Following
0 users
Followed by
0 users
Votes
1
Subscriptions
8
Activity overview
Posts (8)
Comments (18)
Sort by recent activity
Recent activity
Votes
Created
August 17, 2022 13:38
What does adding the Gradle plugin mean? I tried following along the page and added the following code to my gradle.build: plugins { id 'java' id 'application'}application { mainClass = 'M...
Community
IntelliJ IDEA Users
Can't use Switch Pattern Matching with Gradle
0 votes
Edited
August 16, 2022 10:36
I did add the code snippet into my build.gradle file, yes. Which gradle task am I supposed to run? I ran assemble, build and classes but got no output: 16:04:10: Executing 'build'...> Task :compile...
Community
IntelliJ IDEA Users
Can't use Switch Pattern Matching with Gradle
0 votes
Created
August 15, 2022 14:12
By changing the text I meant editing the build.gradle to have: sourceCompatibility = '17.PREVIEW'targetCompatibility = '17.PREVIEW' New errors: > Task :Main.main() FAILEDError: LinkageError occurre...
Community
IntelliJ IDEA Users
Can't use Switch Pattern Matching with Gradle
0 votes
Created
August 15, 2022 10:38
Still get an error after changing the text: D:\OneDrive\Java\Projects\Employees\src\main\java\Main.java:34: error: patterns in switch statements are a preview feature and are disabled by default. ...
Community
IntelliJ IDEA Users
Can't use Switch Pattern Matching with Gradle
0 votes
Created
July 21, 2022 11:45
It seems to work. Thanks a lot!
Community
IntelliJ IDEA Users
Update equals() method code generation to use pattern matching
0 votes
Created
July 20, 2022 05:13
Yes but do you think you could directly tell me what the new code would look like? I think it would be a very small code change.
Community
IntelliJ IDEA Users
Update equals() method code generation to use pattern matching
0 votes
Created
July 19, 2022 07:42
Certainly. This is what the equals() method before pattern matching existed and what the IDE generates by default: @Overridepublic boolean equals(Object o) { if (this == o) return true; if (!...
Community
IntelliJ IDEA Users
Update equals() method code generation to use pattern matching
0 votes
Created
July 08, 2022 23:47
Thanks for the help.
Community
IntelliJ IDEA Users
Different accounts being used when committing to GitHub
0 votes
«
First
‹
Previous