Skip to content

Commit

Permalink
版本升级到2.0.4 & 文案优化
Browse files Browse the repository at this point in the history
  • Loading branch information
liujianAndroid committed Apr 6, 2024
1 parent 2689224 commit 630843f
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ public static class Builder {

private boolean mLazyInit;

private boolean mEnableHookInflater = true;
private boolean mEnableHookInflater;

private int mViewMaxLoopCount;

Expand Down
2 changes: 1 addition & 1 deletion CodeLocatorApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ buildscript {

ext.kotlin_version = "1.5.20"
ext.support_version = "26.1.0"
ext.androidx_version = "1.2.0"
ext.androidx_version = "1.0.0"
ext.codelocator_version = project["VERSION_NAME"]

ext.useSourceCode = true
Expand Down
2 changes: 1 addition & 1 deletion CodeLocatorApp/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ MIN_SDK_VERSION=19
TARGET_SDK_VERSION=29

GROUP=com.bytedance.tools.codelocator
VERSION_NAME=2.0.3
VERSION_NAME=2.0.4

POM_NAME=com.bytedance.tools.codelocator

Expand Down
2 changes: 1 addition & 1 deletion CodeLocatorPlugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {

group 'com.bytedance.tools'

version '2.0.2'
version '2.0.3'

runIde {
jvmArgs '-Xmx10G'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class MyTreeCellRenderer(val codeLocatorWindow: CodeLocatorWindow, val type: Int
text = "(${displayDependencies.childCount}) ${displayDependencies.displayLine}"
}
}
setBackgroundNonSelectionColor(tree?.background)
return component
}

Expand Down
2 changes: 2 additions & 0 deletions CodeLocatorPlugin/src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
]]></description>

<change-notes><![CDATA[
<h3>2.0.3: Optimize Screen Height </h3>
<h3>2.0.2: Remove TinyPng</h3>
<h3>2.0.1: Support ViewBinding</h3>
Expand Down
4 changes: 2 additions & 2 deletions CodeLocatorPlugin/src/main/resources/META-INF/version
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<version>2.0.1</version>
<version>2.0.3</version>
<min-support-sdk>2.0.0</min-support-sdk>
<changelog>1. 支持ViewBinding</changelog>
<changelog>1. 优化面板高度</changelog>
4 changes: 2 additions & 2 deletions CodeLocatorPlugin/src/main/resources/META-INF/versionNews
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
欢迎使用 CodeLocator 2.0.1
欢迎使用 CodeLocator 2.0.3

新增如下功能:

1. 支持ViewBinding
1. 优化面板高度
4 changes: 2 additions & 2 deletions CodeLocatorPlugin/src/main/resources/META-INF/versionNews_en
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Welcome to CodeLocator 2.0.1
Welcome to CodeLocator 2.0.3

The following functions are added:

1. Support ViewBinding
1. Optimize screen height
4 changes: 2 additions & 2 deletions CodeLocatorPlugin/src/main/resources/META-INF/version_en
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<version>2.0.1</version>
<version>2.0.3</version>
<min-support-sdk>2.0.0</min-support-sdk>
<changelog>1. Support ViewBinding</changelog>
<changelog>1. Optimize screen height</changelog>
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ voice_install_apk_success=Installation completed
voice_installing_apk=Installation in progress
voice_start_apk=Start application
write_clipboard_tip=Set clipboard content
sdk_not_init=SDK is not initialized. Please check whether the current process is the main process
sdk_not_init=SDK is not initialized. Please check whether the current process is the main process Or whether the application is running and in the foreground
draw_view_size=Draw view size
draw_view_padding=Draw spacing of the View
support_async_broadcast=async broadcast (Grab will slow down)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ voice_install_apk_success=\u5b89\u88c5\u5df2\u5b8c\u6210
voice_installing_apk=\u5b89\u88c5\u4e2d
voice_start_apk=\u542f\u52a8\u5e94\u7528
write_clipboard_tip=\u8bbe\u7f6e\u526a\u5207\u677f\u5185\u5bb9
sdk_not_init=sdk\u672a\u521d\u59cb\u5316, \u8bf7\u68c0\u67e5\u5f53\u524d\u8fdb\u7a0b\u662f\u5426\u4e3b\u8fdb\u7a0b
sdk_not_init=sdk\u672a\u521d\u59cb\u5316, \u8bf7\u68c0\u67e5\u5f53\u524d\u8fdb\u7a0b\u662f\u5426\u4e3b\u8fdb\u7a0b \u6216\u8005\u5e94\u7528\u662f\u5426\u6b63\u5728\u8fd0\u884c\u5e76\u4e14\u5728\u524d\u53f0
draw_view_size=\u7ed8\u5236View\u5c3a\u5bf8
draw_view_padding=\u7ed8\u5236View\u95f4\u8ddd
support_async_broadcast=\u652f\u6301\u5f02\u6b65\u5e7f\u64ad(\u6293\u53d6\u6027\u80fd\u4f1a\u53d8\u6162)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ voice_install_apk_success=安装已完成
voice_installing_apk=安装中
voice_start_apk=启动应用
write_clipboard_tip=设置剪切板内容
sdk_not_init=sdk未初始化, 请检查当前进程是否主进程
sdk_not_init=sdk未初始化, 请检查当前进程是否主进程 或者应用是否正在运行并且在前台
draw_view_size=绘制View尺寸
draw_view_padding=绘制View间距
support_async_broadcast=支持异步广播(抓取性能会变慢)
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ allprojects {
// 集成基础能力, 只需要添加一行依赖即可
dependencies {
// 依赖androidx, 已升级AndroidX的项目集成下面的依赖
implementation "com.bytedance.tools.codelocator:codelocator-core:2.0.3"
implementation "com.bytedance.tools.codelocator:codelocator-core:2.0.4"
// 未升级AndroidX的项目集成下面的依赖 support版本不再维护 请升级androidx
implementation "com.bytedance.tools.codelocator:codelocator-core-support:2.0.0"
}
Expand All @@ -74,15 +74,15 @@ apply plugin: 'me.ele.lancet'
dependencies {
// 两种依赖方式
// 依赖lancet-all, 则包含所有lancet能力
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-all:2.0.3"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-all:2.0.4"
// 分别依赖对应的lancet模块, 包含相对应的跳转能力
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-xml:2.0.3"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-activity:2.0.3"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-view:2.0.3"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-toast:2.0.3"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-dialog:2.0.3"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-popup:2.0.3"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-xml:2.0.4"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-activity:2.0.4"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-view:2.0.4"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-toast:2.0.4"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-dialog:2.0.4"
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-popup:2.0.4"
// 如果未升级AndroidX, 可使用下方的依赖 support版本不再维护 请升级androidx
debugImplementation "com.bytedance.tools.codelocator:codelocator-lancet-all-support:2.0.0"
Expand Down Expand Up @@ -124,7 +124,7 @@ CodeLocator插件是一个侧边栏插件, 安装后展示在Android Studio的

## License
~~~
Copyright (c) 2023 ByteDance Inc
Copyright (c) 2024 ByteDance Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 630843f

Please sign in to comment.