Skip to content

Commit e945df0

Browse files
committed
chore: initial prepare
1 parent d7d1d7b commit e945df0

10 files changed

Lines changed: 27 additions & 28 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- Keep a Changelog guide -> https://keepachangelog.com -->
22

3-
# php-opcodes-plugin Changelog
3+
# PHP Opcodes Changelog
44

55
## [Unreleased]
66
### Added

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# php-opcodes-plugin
1+
# PHP Opcodes
22

33
![Build](https://github.com/xepozz/php-opcodes-plugin/workflows/Build/badge.svg)
44
[![Version](https://img.shields.io/jetbrains/plugin/v/MARKETPLACE_ID.svg)](https://plugins.jetbrains.com/plugin/MARKETPLACE_ID)
@@ -17,11 +17,9 @@
1717
- [ ] Click the <kbd>Watch</kbd> button on the top of the [IntelliJ Platform Plugin Template][template] to be notified about releases containing new features and fixes.
1818

1919
<!-- Plugin description -->
20-
This Fancy IntelliJ Platform Plugin is going to be your implementation of the brilliant ideas that you have.
20+
Plugin exposes PHP Opcodes for the selected PHP code snippet or file.
2121

22-
This specific section is a source for the [plugin.xml](/src/main/resources/META-INF/plugin.xml) file which will be extracted by the [Gradle](/build.gradle.kts) during the build process.
23-
24-
To keep everything working, do not remove `<!-- ... -->` sections.
22+
It is possible to navigate through the codebase and watch related opcodes.
2523
<!-- Plugin description end -->
2624

2725
## Installation

gradle.properties

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
# IntelliJ Platform Artifacts Repositories -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
22

3-
pluginGroup = com.github.xepozz.phpopcodesplugin
4-
pluginName = php-opcodes-plugin
3+
pluginGroup = com.github.xepozz.php_opcodes
4+
pluginName = PHP Opcodes
55
pluginRepositoryUrl = https://github.com/xepozz/php-opcodes-plugin
66
# SemVer format -> https://semver.org
7-
pluginVersion = 0.0.1
7+
pluginVersion = 2025.0.1
88

99
# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
1010
pluginSinceBuild = 242
1111
pluginUntilBuild = 252.*
1212

1313
# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
14-
platformType = IC
15-
platformVersion = 2024.2.5
14+
platformType = PS
15+
platformVersion = 2025.1.1
1616

1717
# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
1818
# Example: platformPlugins = com.jetbrains.php:203.4449.22, org.intellij.scala:2023.3.27@EAP
19-
platformPlugins =
19+
platformPlugins=com.jetbrains.php:251.23774.318,com.jetbrains.hackathon.indices.viewer:1.30
2020
# Example: platformBundledPlugins = com.intellij.java
21-
platformBundledPlugins =
21+
platformBundledPlugins=
2222

2323
# Gradle Releases -> https://github.com/gradle/gradle/releases
2424
gradleVersion = 8.13

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ plugins {
22
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
33
}
44

5-
rootProject.name = "php-opcodes-plugin"
5+
rootProject.name = "PHP Opcodes"

src/main/kotlin/com/github/xepozz/phpopcodesplugin/MyBundle.kt renamed to src/main/kotlin/com/github/xepozz/php_opcodes/MyBundle.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.xepozz.phpopcodesplugin
1+
package com.github.xepozz.php_opcodes
22

33
import com.intellij.DynamicBundle
44
import org.jetbrains.annotations.NonNls

src/main/kotlin/com/github/xepozz/phpopcodesplugin/services/MyProjectService.kt renamed to src/main/kotlin/com/github/xepozz/php_opcodes/services/MyProjectService.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
package com.github.xepozz.phpopcodesplugin.services
1+
package com.github.xepozz.php_opcodes.services
22

33
import com.intellij.openapi.components.Service
44
import com.intellij.openapi.diagnostic.thisLogger
55
import com.intellij.openapi.project.Project
6-
import com.github.xepozz.phpopcodesplugin.MyBundle
6+
import com.github.xepozz.php_opcodes.MyBundle
77

88
@Service(Service.Level.PROJECT)
99
class MyProjectService(project: Project) {

src/main/kotlin/com/github/xepozz/phpopcodesplugin/startup/MyProjectActivity.kt renamed to src/main/kotlin/com/github/xepozz/php_opcodes/startup/MyProjectActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.xepozz.phpopcodesplugin.startup
1+
package com.github.xepozz.php_opcodes.startup
22

33
import com.intellij.openapi.diagnostic.thisLogger
44
import com.intellij.openapi.project.Project

src/main/kotlin/com/github/xepozz/phpopcodesplugin/toolWindow/MyToolWindowFactory.kt renamed to src/main/kotlin/com/github/xepozz/php_opcodes/toolWindow/MyToolWindowFactory.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.github.xepozz.phpopcodesplugin.toolWindow
1+
package com.github.xepozz.php_opcodes.toolWindow
22

33
import com.intellij.openapi.components.service
44
import com.intellij.openapi.diagnostic.thisLogger
@@ -8,8 +8,8 @@ import com.intellij.openapi.wm.ToolWindowFactory
88
import com.intellij.ui.components.JBLabel
99
import com.intellij.ui.components.JBPanel
1010
import com.intellij.ui.content.ContentFactory
11-
import com.github.xepozz.phpopcodesplugin.MyBundle
12-
import com.github.xepozz.phpopcodesplugin.services.MyProjectService
11+
import com.github.xepozz.php_opcodes.MyBundle
12+
import com.github.xepozz.php_opcodes.services.MyProjectService
1313
import javax.swing.JButton
1414

1515

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<!-- Plugin Configuration File. Read more: https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html -->
22
<idea-plugin>
3-
<id>com.github.xepozz.phpopcodesplugin</id>
4-
<name>php-opcodes-plugin</name>
5-
<vendor>xepozz</vendor>
3+
<id>com.github.xepozz.php_opcodes</id>
4+
<name>PHP Opcodes</name>
5+
<vendor email="xepozz@list.ru" url="https://github.com/xepozz">Dmitrii Derepko (@xepozz)</vendor>
66

77
<depends>com.intellij.modules.platform</depends>
8+
<depends>com.jetbrains.php</depends>
89

910
<resource-bundle>messages.MyBundle</resource-bundle>
1011

1112
<extensions defaultExtensionNs="com.intellij">
12-
<toolWindow factoryClass="com.github.xepozz.phpopcodesplugin.toolWindow.MyToolWindowFactory" id="MyToolWindow"/>
13-
<postStartupActivity implementation="com.github.xepozz.phpopcodesplugin.startup.MyProjectActivity" />
13+
<toolWindow factoryClass="com.github.xepozz.php_opcodes.toolWindow.MyToolWindowFactory" id="MyToolWindow"/>
14+
<postStartupActivity implementation="com.github.xepozz.php_opcodes.startup.MyProjectActivity" />
1415
</extensions>
1516
</idea-plugin>

src/test/kotlin/com/github/xepozz/phpopcodesplugin/MyPluginTest.kt renamed to src/test/kotlin/com/github/xepozz/php_opcodes/MyPluginTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
package com.github.xepozz.phpopcodesplugin
1+
package com.github.xepozz.php_opcodes
22

33
import com.intellij.ide.highlighter.XmlFileType
44
import com.intellij.openapi.components.service
55
import com.intellij.psi.xml.XmlFile
66
import com.intellij.testFramework.TestDataPath
77
import com.intellij.testFramework.fixtures.BasePlatformTestCase
88
import com.intellij.util.PsiErrorElementUtil
9-
import com.github.xepozz.phpopcodesplugin.services.MyProjectService
9+
import com.github.xepozz.php_opcodes.services.MyProjectService
1010

1111
@TestDataPath("\$CONTENT_ROOT/src/test/testData")
1212
class MyPluginTest : BasePlatformTestCase() {

0 commit comments

Comments
 (0)