rikudoupatrickstar / jetbrainsruntime-for-linux-x64 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from prehonor/myjetbrainsruntime
在线定时编译改进的 JBR
This project forked from prehonor/myjetbrainsruntime
在线定时编译改进的 JBR
安装方法 : yay -S goland
我尝试使用google 但是我找不到我想要的,我知道这个不是这个项目的问题,但是我不知道怎么获得这个信息,help me~ Thanks!!
复现条件:
如果使用ide内置jbr,重复上述操作,没有上述问题
启动时加载弹窗只显示进度条,更新代码无任何提示等
如题:
采用jbr后,idea中打开文件,会holding几秒;
现象:执行快捷键ctrl+F搜索、ctrl+W关闭,不起作用。
等待一会儿才可以操作;
已打开文件不受影响。
替换回原来jbr,重启idea后无此问题。
IntelliJ IDEA 2021.1.3 (Ultimate Edition)
Build #IU-211.7628.21, built on June 30, 2021
Licensed to IntelliJ IDEA Evaluator
Expiration date: March 16, 2022
Runtime version: 11.0.11+9-b1341.60 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.10.83-amd64-desktop
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 8
Registry: documentation.show.toolbar=true
Non-Bundled Plugins: IdeaVIM (1.9.2), io.zhile.research.ide-eval-resetter (2.1.6), org.jetbrains.plugins.go-template (211.6693.44), name.kropp.intellij.makefile (211.7628.1), com.intellij.kubernetes (211.7442.27), nb-mind-map-idea (1.5.0), org.intellij.scala (2021.1.22), com.jetbrains.php (211.7628.25), Pythonid (211.7628.24), org.jetbrains.plugins.go (211.7628.1)
Kotlin: 211-1.4.32-release-IJ7628.19
Current Desktop: Deepin
本人使用的是Ubuntu22.10,桌面环境为Gnome40,输入法为fcitx5,目前替换掉jbr之后依然无法解决光标不跟随的问题
验证了deepin21正常。ubuntu21.10貌似还是不行。
https://bbs.deepin.org/post/228824?id=228824&type_id=111&forum_name=Experiences%20and%20Insight
cannot compile jdk17
目前看五笔输入法还是不能修复光标, 触发概率在100%, 当我按下第三个键或者第四个键人时候,光标到了左下角了。
本地环境
Ubuntu 22.04,搜狗输入法 4.0.1.2123,编辑器intellij idea ce 2022.1.3,笔记本屏幕分辨率2560*1600,缩放比例150%
修改方案
由于能力有限也没有时间精力去找遍整个jbr源码,暂时没有找到函数可以直接获得系统的设置的缩放值。所以,需要各位自己根据自身情况写死。
修改这两行,调整result就行了。
JetBrainsRuntime-for-Linux-x64/idea.patch
Lines 296 to 297 in 9f69274
修改后
if(c!=null){
double scale = 2.0;
result = new int[]{point.x - c.getPeer().getLocationOnScreen().x + caret_x, point.y - c.getPeer().getLocationOnScreen().y + font_height + caret_y};
result[0] = (int)Math.round(result[0]*scale);
result[1] = (int)Math.round(result[1]*scale);
//print调试大法可以放这里
}
已知的问题
关于本地编译调试问题
1.编译参考 https://blog.csdn.net/qq_41929417/article/details/117171581 和 https://blog.csdn.net/joi_la/article/details/121998331
2.调试的话,先把编辑器安装目录下的jbr改名备份,再软链接到编译后的jdk目录(我这里是 ln -s xxxxx/JetBrainsRuntime/build/linux-x86_64-normal-server-release/jdk jbr),这样重新打开ide用的就是你编译的jbr了。
3.print调试大法,直接用下面这行,在我这里日志会输出到/home/xxxx/.cache/JetBrains/IdeaIC2022.1/log/idea.log里,直接tail -f就可以看了,每次在编辑器里鼠标点击或是按下键盘键就会有输出。
System.out.printf("%d %d %d %s %d %d %d %d %n", point.x, c.getPeer().getLocationOnScreen().x, caret_x, "=", point.y, c.getPeer().getLocationOnScreen().y, font_height, caret_y);
关于这行print里几个参数代表的含义,我推测point代表的是编辑器里editor控件的左上角坐标,c代表的是编辑器外框的左上角坐标,caret当然就是输入光标的位置了。
4. java代码修改后的重新编译,直接make images就行,几秒钟就编译好了,调试很方便。c代码make images无效,估计是修改后没有被编译工具检测到,我也没有深究,如果用make clean这样就很费时间了。
推测报错应该是有某些.so库存在问题
Android Studio版本如下
Android Studio Chipmunk | 2021.2.1 Patch 2
Build #AI-212.5712.43.2112.8815526, built on July 10, 2022
Runtime version: 11.0.12+0-b1504.28-7817840 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.19.6-arch1-1
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 6
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: com.wakatime.intellij.plugin (14.1.0), Lombook Plugin (211.7628.21), org.jetbrains.kotlin (212-1.7.10-release-333-AS5457.46)
Current Desktop: KDE
jbr-linux-x64 版本
17.0.4b469.46
打包方式:jbr-linux-x64
系统
archlinux最新
分别为 17 以及 11的 jbr
下载了最新的三个版本jbr-linux-x64-202110250050,jbr-linux-x64-202110011042,jbr-linux-x64-202109011042
在rider和goland里面fcitx都光标无法跟随
fcitx版本:5.0.9-1
linux版本:Linux 5.14.10-1-MANJARO
gnome:40.4
是只有我有这个问题吗? 我看都没人反馈
原仓库的版本已经到 b653.14 了,大佬受累更新一下~
rider 2021.3.4也是一样,无论使用最新还是正是release情况就和使用自带的jrb效果一样,没有解决这个问题。
其实后来我自己编译了一遍也是一样的情况
fcitx 输入法候选框不跟随光标的问题在matlab和mathematica中同样出现,使用编译的jbr11能解决光标跟随问题,但是会有其他报错
已经使用了编译过的最新版本,但pycharm的markdown插件无法使用
我是Ubuntu + KDE 桌面环境,同时我有两个屏幕,当我使用这个组件后,确实解决了输入法的问题,但是会出现IDEA窗口拖拽到另一个屏幕,迅速被移动回去的问题,只能通过拉大窗口,覆盖到另一个屏幕,这样的方式解决,这个问题在原版的IDEA上并不存在
RT, 本来我是用新版Goland导致Fcitx5输入法输入框不跟随,后来找到大佬的JBR替换后输入法正常,但是Markdown无法预览
ubuntu20.04,CLion2023.2.2
用release的jbr,发现光标跟随不生效。
系统是arm64的不知道能够支持一下arm64 感谢
快捷键Ctrl+Alt+鼠标左键 跳转到另一个java文件的实现方法后,
无法使用Ctrl+D复制行,输入错误的内容也无法使用Delete删除,
需要切换到其他打开的文件再切换回来,快捷键和Delete才恢复正常
比如Ctrl+~的弹框无法显示
在IntelliJ IDEA 2022.2 EAP的blog中提到,Jetbrains将从JBR11迁移到JBR17。
详细见该blog。
感谢您提供的JBR。
IDE里面输入法在中文情况下输入英文,输入了几个字母,发现是中文,然后按下shift改成英文,但是已经输入的字符到IDE有点延迟。
联系我,给你远程演示效果?
采用最近版本的进行替换,但是在双屏下,移动pycharm窗口位置会受阻,移动不了,时常会留在原地,不知为何
保险期间改成main吧
根据下面commit的readme信息,圣母们好像要改用main了
JetBrains/JetBrainsRuntime@095f376
是不是对ide版本有要求?换了jre后方向键都不起作用了。我操作系统是Ubuntu18.04
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.