Fix plugin descriptor loading and change default port to 8080 #25
+10
−13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PyCharm fails to load the plugin descriptor from the built ZIP due to naming inconsistencies between the archive and internal plugin structure. Additionally, this PR standardizes the default port to 8080 across the entire codebase.
Changes
archiveBaseNameoverride inbuildPlugintask - This bypasses IntelliJ Platform Gradle Plugin's standard naming conventions and causes structural mismatchessettings.gradle.ktswithrootProject.name = "intellij-plugin"- Project name now controls artifact naming through Gradle's standard mechanismThe IntelliJ Platform Gradle Plugin 2.x requires project name (not
archiveBaseName) to determine plugin structure. The built artifact remainsintellij-plugin-{version}.zipbut with correct internal structure for PyCharm installation.Plugin Descriptor Fix
Port Changes
Updated default port from 8000 to 8080 in:
utils/config.py- Default UVICORN_PORT environment variable fallbackmain.py- Fallback default port in uvicorn.run()ide-plugins/src/main/kotlin/com/picocode/PicoCodeSettings.kt- Default serverPort in plugin settingside-plugins/src/main/kotlin/com/picocode/PicoCodeConfigurable.kt- Fallback default port in plugin configurationREST_API.md- Updated all documentation examples to use port 8080Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.