Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: georgewfraser/java-language-server
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: WenjunHuang/codeepiphanyapp-java-language-server
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 16 commits
  • 2,294 files changed
  • 1 contributor

Commits on Mar 27, 2025

  1. feat(core): 将JavaLanguageServer类改为public并添加maven-shade-plugin

    将JavaLanguageServer类的访问修饰符从默认改为public,以便其他模块可以访问
    在pom.xml中添加maven-shade-plugin配置,用于构建可执行jar包
    WenjunHuang committed Mar 27, 2025
    Configuration menu
    Copy the full SHA
    f3e470c View commit details
    Browse the repository at this point in the history
  2. feat(core): 将JavaLanguageServer类改为public并添加maven-shade-plugin

    将JavaLanguageServer类的访问修饰符从默认改为public,以便其他模块可以访问
    在pom.xml中添加maven-shade-plugin配置,用于构建可执行jar包
    WenjunHuang committed Mar 27, 2025
    Configuration menu
    Copy the full SHA
    7df0ff4 View commit details
    Browse the repository at this point in the history
  3. refactor(java-compiler): 替换ServiceLoader方式获取JavaCompiler实例

    • 使用JavacTool直接实例化替代ServiceLoader加载机制
    • 简化编译器实例获取逻辑,避免潜在的服务加载问题
    • 保持默认字符集配置不变
    
    (该修改可能影响依赖ServiceLoader动态加载的扩展场景)
    WenjunHuang committed Mar 27, 2025
    Configuration menu
    Copy the full SHA
    8f5bbe2 View commit details
    Browse the repository at this point in the history
  4. refactor(SourceFileManager): 使用JavacTool替代ServiceLoader获取编译器实例

    将获取JavaCompiler实例的方式从ServiceLoader.load改为直接实例化JavacTool,
    这可能是为了更直接地控制编译器实例的创建过程,避免ServiceLoader可能带来的问题
    WenjunHuang committed Mar 27, 2025
    Configuration menu
    Copy the full SHA
    221a6b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f03272f View commit details
    Browse the repository at this point in the history
  6. refactor(parser): 直接使用 JavacTool 替代 ServiceLoader 获取编译器实例

    将获取 JavaCompiler 实例的方式从 ServiceLoader 改为直接实例化 JavacTool,
    以提高代码的可读性和确定性,避免潜在的加载问题
    WenjunHuang committed Mar 27, 2025
    Configuration menu
    Copy the full SHA
    eb9c717 View commit details
    Browse the repository at this point in the history
  7. try add jdk.compiler

    WenjunHuang committed Mar 27, 2025
    Configuration menu
    Copy the full SHA
    dc47625 View commit details
    Browse the repository at this point in the history
  8. refactor(compiler): 修改Locations类以支持动态java.home设置

    • 将javaHome和thisSystemModules字段改为public
    • 新增setJavaHome方法用于动态设置java路径
    • 优化模块查找失败时的错误信息提示
    
    这些修改增强了Locations类的灵活性,使其能够适应不同的Java运行环境配置需求。
    WenjunHuang committed Mar 27, 2025
    Configuration menu
    Copy the full SHA
    e5b1ed3 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2025

  1. refactor(java-language-server): 重构JDK路径处理逻辑

    • 移除硬编码的jdkClassesPath,改为通过JavaHomeHelper统一管理JDK路径
    • 修改Docs类从使用src.zip改为直接读取src文件夹
    • 更新ScanClassPath以支持模块化JDK目录结构
    
    该重构提高了代码的灵活性和可维护性,更好地支持不同JDK版本的兼容性
    WenjunHuang committed Mar 28, 2025
    Configuration menu
    Copy the full SHA
    d3ff7ad View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2025

  1. refactor(vscode-config): 移除VS Code配置文件并更新Java核心模块

    • 删除所有.vscode目录下的配置文件(extensions.json, launch.json等)
    • 统一使用UTF-8编码处理文件读写操作
    • 调整module-info.java依赖顺序并更新pom.xml编译配置
    
    涉及核心文件:FileStore.java、InferConfig.java及测试文件编码兼容性优化
    WenjunHuang committed Apr 3, 2025
    Configuration menu
    Copy the full SHA
    644e09f View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2025

  1. fix android compabitlity

    WenjunHuang committed Apr 6, 2025
    Configuration menu
    Copy the full SHA
    524cae5 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2025

  1. feat(pom): 更新项目配置支持GraalVM和移动端构建

    - 修改artifactId为JavaLanguageServer
    - 添加GraalVM native-image支持依赖
    - 配置gluonfx-maven-plugin支持iOS/Android构建
    - 移除JMH等测试相关配置
    
    feat(Main): 支持通过参数指定java.home路径
    - 从启动参数获取java.home路径
    - 移除硬编码的JDK路径
    WenjunHuang committed Apr 24, 2025
    Configuration menu
    Copy the full SHA
    b029a99 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2025

  1. Configuration menu
    Copy the full SHA
    43fa961 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2025

  1. chore(build): add UTF-8 encoding configuration to pom.xml

    Add project.build.sourceEncoding property and set UTF-8 encoding in compiler
    configuration to ensure consistent character encoding across builds. Remove
    commented-out dependencies and compiler arguments to clean up the file.
    WenjunHuang committed Apr 28, 2025
    Configuration menu
    Copy the full SHA
    2e225a2 View commit details
    Browse the repository at this point in the history
  2. refactor(compiler): simplify compiler service initialization

    Remove conditional logic for classpath inference and external dependencies
    in JavaLanguageServer.java. The initialization now directly uses the
    provided classpath and doc path. Also added MarkedString$Adapter to
    pom.xml serialization whitelist.
    WenjunHuang committed Apr 28, 2025
    Configuration menu
    Copy the full SHA
    9985bf6 View commit details
    Browse the repository at this point in the history
  3. chore(build): remove platform-specific scripts and update pom.xml

    Delete obsolete platform-specific launch scripts for debug adapter and language server.
    Update pom.xml version to 1.0 and add maven-shade-plugin configuration for packaging.
    WenjunHuang committed Apr 28, 2025
    Configuration menu
    Copy the full SHA
    f14c305 View commit details
    Browse the repository at this point in the history
Loading