mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 18:27:49 +08:00
project_wizard.md: use proper upsource link
This commit is contained in:
parent
e75929716d
commit
5f27dfb08b
@ -139,7 +139,7 @@ documentation section.
|
||||
|
||||
## Implementing Project Structure Detector
|
||||
|
||||
To support the creation of your module when a project is imported from existing sources, extend [ProjectStructureDetector](https://upsource.jetbrains.com/idea-ce/file/idea-ce-8bcd17315c7ac0a69ac6c8e9a3fb217707daa2cd/java/idea-ui/src/com/intellij/ide/util/projectWizard/importSources/ProjectStructureDetector.java).
|
||||
To support the creation of your module when a project is imported from existing sources, extend [ProjectStructureDetector](upsource:///java/idea-ui/src/com/intellij/ide/util/projectWizard/importSources/ProjectStructureDetector.java).
|
||||
|
||||
To detect your files your module supports implement
|
||||
|
||||
@ -148,7 +148,7 @@ public abstract DirectoryProcessingResult detectRoots(@NotNull File dir, @NotNul
|
||||
@NotNull List<DetectedProjectRoot> result);
|
||||
```
|
||||
|
||||
Refer to the [Smalltalk project structure derector](https://github.com/bulenkov/RedlineSmalltalk/blob/master/src/st/redline/smalltalk/module/RsProjectStructureDetector.java)
|
||||
Refer to the [Smalltalk project structure detector](https://github.com/bulenkov/RedlineSmalltalk/blob/master/src/st/redline/smalltalk/module/RsProjectStructureDetector.java)
|
||||
|
||||
But detecting the files is not enough, you also need to create a module for the project if appropriate by implementing `setupProjectStructure()`. Here is an example that creates a module if no other modules exist in the project structure.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user