intellij-samples
Code that demonstrates various IntelliJ IDEA features
File Explorer
Download Latest Version (.zip)- maven.properties.json
- maven.yml
- codeStyleConfig.xml
- Project.xml
- profiles_settings.xml
- information_schema.FNRwLQ.meta
- mysql.osA4Bg.meta
- performance_schema.kIw0nw.meta
- sakila.oXLGyQ.meta
- sakila.oXLGyQ.zip
- sys.zb4BAA.meta
- trisha.xml
- BeyondJava8.xml
- Errors.xml
- Java_10.xml
- Project_Default.xml
- unused.xml
- Data_Access.xml
- scope_settings.xml
- Service.xml
- UI.xml
- .gitignore
- compiler.xml
- dataSources.local.xml
- dataSources.xml
- encodings.xml
- icon.svg
- intellij-samples.iml
- jarRepositories.xml
- kotlinc.xml
- misc.xml
- modules.xml
- sqldialects.xml
- uiDesigner.xml
- vcs.xml
- maven-wrapper.jar
- maven-wrapper.properties
- MavenWrapperDownloader.java
- wrapper.iml
- annotation-inference.jar
- DataFlow.java
- DataFlowAnalysis.java
- DataFlowAnalysisForArrays.java
- DataFlowUsage.java
- SmarterExceptionNavigation.java
- TextBlocks.java
- Java16.java
- LocalTypes.java
- PersonDTO.java
- Record.java
- StaticOnInnerClasses.java
- ChildClass.java
- Hello.java
- MyEarth.java
- PatternMatchingSwitch.java
- SealedClass.java
- PatternMatchingForSwitch.java
- Point.java
- RecordPatterns.java
- StringTemplate.java
- ImplicitlyDeclaredClass.java
- UnnamedVariables.java
- MarkdownComments.java
- PrimitiveTypesInSwitch.java
- CodeFormatting.java
- JavaAt25.java
- SurroundWith.java
- CodeCompletion.java
- DataFlowCompletion.java
- HippieCompletion.java
- JSONData.java
- LiveTemplates.java
- PostfixCompletion.java
- SqlQueryCompletion.java
- AsyncSchedulerExample.java
- AsyncStackTraces.java
- DataTypeRendering.java
- DropFrame.java
- InlineDebugging.java
- LambdaEvaluation.java
- MarkingObject.java
- MemoryView.java
- MultiLineExpressions.java
- ReverseString.java
- SetBreakpointFromStackTrace.java
- SingleLineLambda.java
- SmartStep.java
- StackTraceExplorer.java
- ThrowExceptionWhileDebugging.java
- CustomisingColours.java
- ExtendSelection.java
- InlayHints.java
- JavadocFormatting.java
- jb_beam.png
- JoinLinesOfCode.java
- LiveTemplates.java
- MultiLineStrings.java
- MultipleCarets.java
- ParameterHints.java
- PostfixCompletion.java
- RegularExpressions.java
- Customer.java
- Item.java
- Location.java
- Order.java
- OrderItem.java
- Product.java
- Location.java
- Sudoku.java
- CodeFormatting.java
- LanguageInjection.java
- RearrangeCode.java
- CodeGeneration.java
- GenerateHashCodeAndEquals.java
- GenerateSwitchBranches.java
- Converter.java
- Counter.java
- Employee.java
- Person.java
- MyException.java
- BooleanInspections.java
- CollectionsFactoryMethods.java
- Deprecation.java
- DuplicateCodeInspection.java
- Inspections.java
- Java10Inspections.java
- Java11Inspections.java
- Java13Inspections.java
- Java8Inspections.java
- LanguageLevelMigrations.java
- ListAndLoopInspections.java
- MyAnnotation.java
- NewMethodsOnOptional.java
- NullityInference.java
- OptionalInspections.java
- PatternMatchingForInstanceOf.java
- RedundantCode.java
- SmellyCode.java
- StreamsAPI.java
- StringInspections.java
- StructuralSearchReplace.java
- SwitchExpressions.java
- UnusedCode.java
- UnusedCodeCalled.java
- VarLVTI.java
- WriteOnlyObjects.java
- Actor.java
- BindParametersToFields.java
- BooleanIntentions.java
- ControlFlowIntentions.java
- ExceptionIntentions.java
- LoopingIntentions.java
- RegexChecker.java
- TransformToSingleExitPoint.java
- CustomerRepository.java
- CustomerService.java
- InMemoryCustomerRepository.java
- MongoDBCustomerRepository.java
- NavigateToTest.java
- SQLCustomerRepository.java
- CallingClass.java
- ClassToChange.java
- AnotherClass.java
- CallHeirarchy.java
- ExtractDelegate.java
- ExtractFunctionalParameter.java
- ExtractInterface.java
- ExtractMethod.java
- ExtractParameter.java
- ExtractVariable.java
- InlinedMethodAutomaticallyConvertToSingleExitPoint.java
- IntroduceVariable.java
- InvertBoolean.java
- MakeStatic.java
- MethodRefactoring.java
- Planet.java
- PlanetExtractions.java
- PullMembersUp.java
- PushMembersDown.java
- RefactorThis.java
- Rename.java
- ReplaceInheritance.java
- StringRefactoring.java
- SuperClass.java
- TypeMigrations.java
- Hello.java
- Example.java
- StreamAPIExample.java
- StreamDebuggerExample.java
- StreamExample.java
- Alphabet.java
- BananaCheck.java
- WeatherCheck.java
- IntelliJIDEA.java
- JShellExamples.java
- Terminal.java
- Feature.java
- LocalHistory.java
- MergeChanges.java
- NewClass.java
- NewFeature.java
- coffee.json
- sakila-data.sql
- sakila-schema.sql
- tables.ddl
- DataFlowAnalysisTest.java
- PersonDTOTest.java
- RecordTest.java
- RecordPatternsTest.java
- UnnamedVariablesTest.java
- JavaAt25Test.java
- AsyncDebuggingTest.java
- DebuggingTest.java
- InlayHintsTest.java
- SudokuTest.java
- PersonTest.java
- Java11InspectionsTest.java
- UnusedCodeTest.java
- CustomerRepositoryTest.java
- ExceptionStackTraceTest.java
- NavigateToTestTest.java
- ExtractInterfaceTest.java
- MoodTestData.java
- UserTestData.java
- AlphabetTest.java
- BananaCheckTest.java
- JUnit4To5.java
- WeatherCheckTest.java
- .gitignore
- docker-compose.yml
- mvnw
- mvnw.cmd
- pom.xml
- AltEnter.java
- CustomerOrder.kt
- HelperMethods.java
- LanguageInjection.kt
- SetBreakpointFromStackTrace.kt
- ShowKotlinProperties.kt
- UserRepository.java
- UserRepositoryKotlin.kt
- UserService.java
- UserModel.java
- Car.kt
- Drivable.kt
- Fiesta.kt
- Focus.kt
- Wheel.kt
- ManyParameters.kt
- StructuralSearch.kt
- ConvertToExpressionBody.kt
- DataClassFormatting.kt
- WhenBranches.kt
- ExtractFunctionInScope.kt
- ExtractParameter.kt
- HiFromKotlin.kt
- Feature.kt
- Example.kt
- .gitignore
- pom.xml
- 2021.1.txt
- intellij_20.txt
- java-16.md
- ToMigrate.js
- .flowconfig
- app.js
- package.json
- RealTimePreview.html
- realtimestyling.css
- simultaneous_tag_editing.html
- People.js
- People.js.map
- People.ts
- tsconfig.json
- TestRest.http
- ToHTML.html
- web-samples.iml
- .gitignore
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/JetBrains/intellij-samples
Downloads the entire project code from GitHub to your computer.
cd intellij-samples
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker compose -f java-samples/docker-compose.yml up -d --build
Runs the command against the services defined in the compose file.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Maven (Java)
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java projects.
- Maven The build tool used for the mvn command.
cd java-samples
This project's files live in a subfolder, so move into it first.
mvn clean install
Installs dependencies and builds the project using Maven.
A BUILD SUCCESS message means it worked. The output is created under target/.
4. Node.js
EasyPrerequisites
β οΈ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd web-samples/Flow
This project's files live in a subfolder, so move into it first.
npm install
Downloads and installs the libraries listed in package.json.
npm start
Starts the development/run server.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
// repository documentation
Was this content helpful?
(0 ratings)
