社区
语言基础/算法/系统设计
帖子详情
Delphi XE 10.4.2里面的LSP自动提示问题
nikotin
2021-05-15 09:26:42
看资料说Delphi XE 10.4.2下自动提示有两种模式:一种是classic code insight,一种是language service protocal。用了下发现lsp好像只能通过快捷键ctrl+space来开启启动提示,而不能像classic code insight那样随着输入会自动提示。请教各位,lsp能不能不用快捷键,而是随着代码输入自动提示呢?
...全文
1231
3
打赏
收藏
Delphi XE 10.4.2里面的LSP自动提示问题
看资料说Delphi XE 10.4.2下自动提示有两种模式:一种是classic code insight,一种是language service protocal。用了下发现lsp好像只能通过快捷键ctrl+space来开启启动提示,而不能像classic code insight那样随着输入会自动提示。请教各位,lsp能不能不用快捷键,而是随着代码输入自动提示呢?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
日立奔腾浪潮微软松下联想
2021-05-19
打赏
举报
回复
虽然没用10.4,不过我相信不可能有这样的BUG,应该是设置的问题,可以请安装了10.4的解答一下,@秋天之落叶~~~
nikotin
2021-05-19
打赏
举报
回复
没反啊,不信老哥自己试试。启用lsp之后,就必须按ctrl+space才有代码提示了。真是烦得很。
墨梅无痕
2021-05-18
打赏
举报
回复
说反了吧?!
Rad Studio
Delphi
C++builder
XE
10.4
Patch2
需要先安装Patch1。 Patch 2 for RAD Studio
10.4
now available This patch addresses a number of issues in RAD Studio
10.4
, pertaining to
Delphi
Compiler, the RAD Studio IDE in general and the new
LSP
-based Code Insight in particular, plus C++ Builder Android exceptions and some debugger issues. The installation of this patch requires a prior installation of Patch #1 (separately available on GetIt and in the download portal). Installing this patch is recommended for all RAD Studio
10.4
customers. Note that this patch is fairly large to download (around 190 MB). The patch includes detailed installation instructions as part of the Readme. Please read the steps carefully (or the corresponding steps in this blog post), as the GetIt download does not install the patch automatically. You must follow the instructions in order to install. Just using GetIt is not enough. List of Customer Reported Issues Addressed in
10.4
Patch 2 RAD Studio
10.4
Patch #2 addresses the following issues reported by customer on Embarcadero Quality Portal (https://quality.embarcadero.com): RSP-29628 VCL Grids bug RSP-29560 [REGRESSION] Misalignment in TStringGrid, StretchDraw method in OnDrawCell RSP-29412 Compiler generates incorrect code for if-then RSP-29402
Delphi
10.4
TStringGrid.OnDrawCell bug RSP-29374 Wrong rect coords in TStringGridDrawCell, so image are drawn at wrong position RSP-29347 [
Delphi
LSP
] IDE Crashes when view form as text is selected and running
LSP
server RSP-29310 Internal error L891 when linking because of complex types based on records with class var RSP-29299 CODEGEN bug in managed fields initialization, associated with new management operators. RSP-29271 [
Delphi
LSP
] Code Insight adds unneeded () when changing procedures/functions RSP-29256 Compiler generates wrong code for template function RSP-29227 Incorrect property value obtained from the record RSP-29226 Access violation with working code under 10.2 RSP-29218 compiling static library under Android error E4620 processing resource .fmx -2 raised RSP-29172 Access Violation when opening License Manager RSP-29142 GoTo statements not working RSP-29136 Dialog constantly pops up during debugging RSP-29129 iOS App simply crashes with a TWebBrowser on it. RSP-29127 Compiler internal error if you ignore the result of a function that returns a generic record RSP-29124 ICE E1812 RSP-28989 License Manager has access violation error when i click on Workstation Licenses RSP-28887 Space does not finish code completion RSP-28857 Default(T) generates bad code for managed record RSP-28821 [Regression] TStringGrid.OnDrawCell parameter Rect contains wrong values RSP-28808 Project options dialog page "
Delphi
Compiler" is not populated when opening the dialog RSP-28796 RVO for M-records: initialisation of local variables RSP-28761 [REGRESSION] E2154 Type 'T' needs finalization - not allowed in variant record RSP-28737 Compiler error when inlining new Bit Counting Standard Functions RSP-28735 Managed Records Causing Internal Compiler Error RSP-28717
Delphi
Package fails to compile RSP-28701 Bind visually on TDBGRID kills the IDE RSP-28669 [BadCG] Value M-record parameters: improper AddRefRecord RSP-28659 RVO for M-records: assignment to local variables RSP-28616 [BadCG] Operator Assign should not allow non-default calling conventions RSP-28615 [BadCG] In the absence of Initialize, finalisation is not guaranteed for local variables RSP-28552 Poor code generation for local managed record variables RSP-28499 Options - Translation tools - Font - Corrupted? RSP-28476
LSP
ErrorInsight in Structure Pane only shows one keystroke after editor RSP-28400 [BadCG] Operator Assign is not always invoked for fields RSP-28372 [Regression] Bad codegen in function returning generic type RSP-27268 C++ Builder 10.3.3 Android Exceptions RSP-27251 Internal error when trying to inline with optimization on RSP-24079 Package version is broken RSP-23403 Build for linux 64 error RSP-23024 Record helper class constructor gives senseless compiler warning RSP-22318 Pointer type check missed when object field is a dynarray RSP-21554 Compiler generates incorrect code for parameterized record type RSP-21248 Const dynamic array unexpectedly contains uninitialized data RSP-20372 A generic "reference to function" will only match the first of several overloaded functions RSP-19714 Win32 compiler - Memory corruption with array helpers RSP-18241 *.c source files, added to C++ project, got added to DeploymentManager file list RSP-18148 AV in TList.Remove (64-bit compiler only)
Delphi
10.4
.2使用传统代码
提示
方案(auto complete)
Delphi
10.4
重点是实现了
LSP
,但现在最新的
10.4
.2还是不成熟,无法满足日常需要,不过没关系,可以设置为原有的方案,如下图: 具体操作: Tools->Options->Editor->language->Code Insight: Code insight manager选择
Delphi
(Classic Code Insight) 取消Tooltip symbol insight 取消Error insight Save 现在就改回了原来的代码
提示
方
Delphi
10.4
.2使用传统代码
提示
方案(auto complete)(转)
与以前的版本相比,在
10.4
.2中
LSP
为
Delphi
的错误洞察添加了许多新功能:编辑器现在为
提示
和警告以及错误显示彩色下划线,这意味着您可以在代码编辑器中看到潜在的重要
问题
,编辑器状态栏中当前文件的错误、警告和
提示
状态的摘要;以及几种突出显示
问题
代码的新方法,使查看有
问题
的代码更加容易。现在就改回了原来的代码
提示
方案,好消息是已经进入内测的
10.4
.2,重点还是增加与改进
LSP
的功能,坏消息是不确定能否达到实用状态,只能等发布后实际用下才能知道,不过从内测的说明中可以看到,真是增加与改进了不少功能。
Delphi
10.4
.2 发布三个补丁的说明及安装方法
这是官方的说明:https://blogs.embarcadero.com/rad-studio-10-4-2-general-patch-and-
delphi
-compiler-patch/ 这下官方的下载地址: http://altd.embarcadero.com/getit/public/libraries/Patches/CompilerPatch-20210430.zip 该补丁解决了
10.4
.2中的
Delphi
编译器中存在的性能
问题
以及内存占用
问题
,因此,该补丁也提升了Code Insi
Delphi
RAD Studio
10.4
.2 Sydney的新增与改进介绍(下)
接上一篇文章:《
Delphi
RAD Studio
10.4
.2 Sydney的新增与改进介绍(上)》 新的开发人员生产效率和用户体验功能可加快入门和应用开发速度 RAD Studio
10.4
.2包括新工具来帮助新手和经验丰富的应用程序开发人员快速构建出色的应用程序;增强的迁移工具可用于快速升级产品版本;以及一个新的静默安装程序来
自动
安装RAD Studio。 为了简化新开发人员的入门过程,突出新的GetIt包和随着时间的推移可以安装到RAD Studio中的其他功能,我们在IDE的“欢迎使用”页面中添加
语言基础/算法/系统设计
16,746
社区成员
33,239
社区内容
发帖
与我相关
我的任务
语言基础/算法/系统设计
Delphi 语言基础/算法/系统设计
复制链接
扫一扫
分享
社区描述
Delphi 语言基础/算法/系统设计
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章