{"id":237182,"date":"2022-03-19T08:41:22","date_gmt":"2022-03-19T00:41:22","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=237182"},"modified":"2022-03-03T10:43:24","modified_gmt":"2022-03-03T02:43:24","slug":"kwrite-kate-linux","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/kwrite-kate-linux.html","title":{"rendered":"KWrite \u548c Kate \u5728 Linux \u4e0a\u7684\u5e94\u7528"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u6587\u672c\u7f16\u8f91\u5668\u901a\u5e38\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u793a\u4f8b\u5e94\u7528\uff0c\u53ef\u4ee5\u5c55\u793a\u4e00\u4e2a\u7f16\u7a0b\u6846\u67b6\u80fd\u591f\u4ea7\u751f\u4ec0\u4e48\u3002\u6211\u81ea\u5df1\u5728\u5173\u4e8e \u200b\u200bwxPython\u3001PyQt\u200b\u200b \u548c \u200b\u200bJava\u200b\u200b \u7684\u6587\u7ae0\u4e2d\u81f3\u5c11\u5199\u8fc7\u4e09\u4e2a\u6587\u672c\u7f16\u8f91\u5668\u7684\u4f8b\u5b50\u3002\u5b83\u4eec\u88ab\u89c6\u4e3a\u5bb9\u6613\u521b\u5efa\u7684\u5e94\u7528\u7684\u539f\u56e0\u662f\uff0c\u8fd9\u4e9b\u6846\u67b6\u63d0\u4f9b\u4e86\u8bb8\u591a\u6700\u96be\u7f16\u5199\u7684\u4ee3\u7801\u3002\u6211\u8ba4\u4e3a\u8fd9\u4e5f\u662f\u5927\u591a\u6570\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7b80\u5355\u7684\u684c\u9762\u6587\u672c\u7f16\u8f91\u5668\u7684\u539f\u56e0\u3002\u5b83\u4eec\u5bf9\u7528\u6237\u6709\u7528\uff0c\u5bf9\u5f00\u53d1\u8005\u4e5f\u5f88\u5bb9\u6613\u5f00\u53d1\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u5728 KDE Plasma \u684c\u9762\u4e0a\uff0c\u6709\u4e24\u4e2a\u6587\u672c\u7f16\u8f91\u5668\u53ef\u4f9b\u9009\u62e9\uff1a\u7b80\u964b\u7684 KWrite \u548c\u5f3a\u5927\u7684 Kate\u3002\u5b83\u4eec\u4e4b\u95f4\u5171\u4eab\u4e00\u4e2a\u6765\u81ea KDE \u6846\u67b6\u7684\u540d\u4e3a KTextEditor \u7684\u5e93\uff0c\u5b83\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u6587\u672c\u7f16\u8f91\u9009\u9879\uff0c\u6240\u4ee5\u65e0\u8bba\u4f60\u9009\u62e9\u54ea\u4e00\u4e2a\uff0c\u4f60\u90fd\u62e5\u6709\u6bd4\u4f60\u53ef\u80fd\u4e60\u60ef\u7684\u3001\u7531\u684c\u9762\u63d0\u4f9b\u7684\u201c\u57fa\u672c\u201d\u6587\u672c\u7f16\u8f91\u5668\u66f4\u591a\u7684\u529f\u80fd\u3002\u5728\u4e0d\u540c\u7684\u6587\u672c\u7f16\u8f91\u5668\u4e2d\u4f7f\u7528\u76f8\u540c\u7684\u7ec4\u4ef6\uff0c\u610f\u5473\u7740\u4e00\u65e6\u4f60\u4e60\u60ef\u4e86 KDE \u4e2d\u7684\u6587\u672c\u7f16\u8f91\u754c\u9762\uff0c\u4f60\u57fa\u672c\u4e0a\u5c31\u80fd\u719f\u6089\u5b83\u4eec\u4e86\uff0c\u5982 KWrite\u3001Kate\u3001KDevelop \u7b49\u3002<\/p>\n

\u5b89\u88c5 KWrite \u6216 Kate<\/strong><\/div>\n

KWrite \u548c Kate \u5728\u540c\u4e00\u4e2a\u00a0\u200b\u200b\u5f00\u53d1\u5e93\u200b\u200b\u00a0\u4e2d\u7ef4\u62a4\u3002<\/p>\n

\u7136\u800c\uff0c\u5b83\u4eec\u662f\u4f5c\u4e3a\u72ec\u7acb\u7684\u5e94\u7528\u53d1\u5e03\u7684\uff0c\u5e76\u4e14\u6709\u4e0d\u540c\u7684\u4f7f\u7528\u573a\u666f\u3002<\/p>\n

\u5982\u679c\u4f60\u5b89\u88c5\u4e86 KDE Plasma \u684c\u9762\uff0c\u4f60\u53ef\u80fd\u5df2\u7ecf\u5b89\u88c5\u4e86 KWrite\uff0c\u4f46\u4f60\u53ef\u80fd\u9700\u8981\u5355\u72ec\u5b89\u88c5 Kate\u3002<\/p>\n

$ sudo dnf install kwrite kate\r\n<\/pre>\n

KWrite \u53ef\u4ee5\u4ece\u00a0\u200b\u200bapps.kde.org\/kwrite\u200b\u200b\u00a0\u83b7\u5f97\uff0c\u800c Kate \u53ef\u4ee5\u4ece\u00a0\u200b\u200bapps.kde.org\/kate\/\u200b\u200b\u00a0\u83b7\u5f97\u3002<\/p>\n

\u4e24\u8005\u90fd\u53ef\u4ee5\u901a\u8fc7 KDE \u201c\u53d1\u73b0Discover\u201d \u5b89\u88c5\uff0cKWrite \u53ef\u4ee5\u00a0\u200b\u200b\u4f5c\u4e3a flatpak \u5b89\u88c5\u200b\u200b\u3002<\/p>\n

KWrite\uff0c\u4e0d\u90a3\u4e48\u57fa\u672c\u7684\u7f16\u8f91\u5668<\/strong><\/div>\n

\u5f00\u59cb\u4f7f\u7528 KWrite \u5f88\u5bb9\u6613\u3002\u4f60\u4ece\u4f60\u7684\u5e94\u7528\u83dc\u5355\u4e2d\u542f\u52a8\u5b83\uff0c\u7136\u540e\u5f00\u59cb\u6253\u5b57\u3002\u5982\u679c\u4f60\u5728\u6700\u57fa\u672c\u7684\u6587\u672c\u7f16\u8f91\u5668\u4e4b\u5916\u6ca1\u6709\u522b\u7684\u9700\u6c42\uff0c\u90a3\u4e48\u4f60\u53ef\u4ee5\u628a\u5b83\u5f53\u4f5c\u4e00\u4e2a\u7b80\u5355\u7684\u7535\u5b50\u8bb0\u4e8b\u672c\u3002<\/p>\n

\"\"<\/p>\n

\u6240\u6709\u901a\u5e38\u7684\u60ef\u4f8b\u90fd\u9002\u7528\u3002\u5728\u5927\u6587\u672c\u533a\u57df\u8f93\u5165\u6587\u5b57\uff0c\u5b8c\u6210\u540e\u70b9\u51fb\u4fdd\u5b58\u6309\u94ae\u3002<\/p>\n

\u7136\u800c\uff0cKWrite \u4e0e\u6807\u51c6\u7684\u684c\u9762\u7f16\u8f91\u5668\u4e0d\u540c\u7684\u662f\uff0c\u5b83\u4f7f\u7528 KTextEditor \u5e93\u3002<\/p>\n

\u4e66\u7b7e<\/strong><\/div>\n

\u5f53\u4f60\u5728 KWrite \u6216 Kate \u4e2d\u5de5\u4f5c\u65f6\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u4e34\u65f6\u4e66\u7b7e\u6765\u5e2e\u52a9\u4f60\u627e\u5230\u6587\u6863\u4e2d\u7684\u91cd\u8981\u4f4d\u7f6e\u3002\u8981\u521b\u5efa\u4e00\u4e2a\u4e66\u7b7e\uff0c\u6309\u00a0\u200b\u200bCtrl+B\u200b\u200b\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u5728\u201c\u4e66\u7b7eBookmark\u201d\u83dc\u5355\u4e2d\u9009\u62e9\u5b83\u6765\u79fb\u52a8\u5230\u4e66\u7b7e\u3002<\/p>\n

\u4e66\u7b7e\u4e0d\u662f\u6c38\u4e45\u6027\u7684\u5143\u6570\u636e\uff0c\u5b83\u4eec\u4e5f\u4e0d\u4f1a\u4f5c\u4e3a\u6587\u6863\u7684\u4e00\u90e8\u5206\u88ab\u5b58\u50a8\uff0c\u4f46\u5f53\u4f60\u5728\u5de5\u4f5c\u4e2d\u9700\u8981\u5728\u5404\u90e8\u5206\u4e4b\u95f4\u6765\u56de\u79fb\u52a8\u65f6\uff0c\u5b83\u4eec\u662f\u6709\u7528\u7684\u5de5\u5177\u3002\u5728\u5176\u4ed6\u6587\u672c\u7f16\u8f91\u5668\u4e2d\uff0c\u6211\u53ef\u4ee5\u53ea\u662f\u8f93\u5165\u4e00\u4e9b\u968f\u673a\u7684\u8bcd\uff0c\u6bd4\u5982 \u201cfoobar\u201d\uff0c\u7136\u540e\u5bf9\u8fd9\u4e2a\u5b57\u7b26\u4e32\u8fdb\u884c\u201c\u67e5\u627eFind\u201d\uff0c\u4ee5\u8fd4\u56de\u5230\u90a3\u4e2a\u4f4d\u7f6e\u3002\u4e66\u7b7e\u662f\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u7684\u4e00\u4e2a\u66f4\u4f18\u96c5\u7684\u65b9\u6848\uff0c\u800c\u4e14\u5b83\u4eec\u4e0d\u4f1a\u6709\u8ba9\u4f60\u7684\u6587\u6863\u5145\u6ee1\u5360\u4f4d\u7b26\u7684\u98ce\u9669\uff0c\u56e0\u4e3a\u4f60\u53ef\u80fd\u5fd8\u8bb0\u5220\u9664\u5b83\u4eec\u3002<\/p>\n

\u9ad8\u4eae\u663e\u793a<\/strong><\/div>\n

\u5728 KWrite \u548c Kate \u4e2d\uff0c\u4f60\u90fd\u53ef\u4ee5\u6fc0\u6d3b\u8bed\u6cd5\u9ad8\u4eae\uff0c\u8fd9\u6837\u4f60\u5c31\u53ef\u4ee5\u6df1\u5165\u4e86\u89e3\u4f60\u6b63\u5728\u5904\u7406\u7684\u6587\u672c\u3002\u5728\u5176\u4ed6\u6587\u5b57\u5904\u7406\u7a0b\u5e8f\u4e2d\uff0c\u4f60\u53ef\u80fd\u4e0d\u4f1a\u6709\u610f\u8bc6\u5730\u4f7f\u7528\u9ad8\u4eae\u663e\u793a\uff0c\u4f46\u5982\u679c\u4f60\u66fe\u7ecf\u4f7f\u7528\u8fc7\u5e26\u6709\u81ea\u52a8\u62fc\u5199\u548c\u8bed\u6cd5\u68c0\u67e5\u7684\u7f16\u8f91\u5668\uff0c\u4f60\u5c31\u4f1a\u770b\u5230\u4e00\u79cd\u9ad8\u4eae\u663e\u793a\u3002\u5728\u5927\u591a\u6570\u73b0\u4ee3\u6587\u5b57\u5904\u7406\u7a0b\u5e8f\u4e2d\uff0c\u62fc\u5199\u9519\u8bef\u88ab\u6807\u8bb0\u7684\u7ea2\u8272\u8b66\u544a\u7ebf\u5c31\u662f\u4e00\u79cd\u8bed\u6cd5\u9ad8\u4eae\u7684\u5f62\u5f0f\u3002KWrite \u548c Kate \u53ef\u4ee5\u540c\u65f6\u901a\u77e5\u4f60\u5199\u4f5c\u4e2d\u7684\u9519\u8bef\u548c\u6210\u529f\u3002<\/p>\n

\u8981\u67e5\u770b\u62fc\u5199\u9519\u8bef\uff0c\u8bf7\u8fdb\u5165\u201c\u5de5\u5177Tools\u201d\u83dc\u5355\uff0c\u9009\u62e9\u201c\u62fc\u5199Spelling\u201d\u3002\u4ece\u5b50\u83dc\u5355\u4e2d\uff0c\u6fc0\u6d3b\u201c\u81ea\u52a8\u62fc\u5199\u68c0\u67e5Automatic Spell Checking\u201d\u3002<\/p>\n

\u8981\u83b7\u5f97\u4f60\u4ee5\u7279\u5b9a\u683c\u5f0f\u5199\u7684\u4e1c\u897f\u7684\u89c6\u89c9\u53cd\u9988\uff0c\u4f8b\u5982\u00a0\u200b\u200bMarkdown\u200b\u200b\u3001HTML \u6216\u50cf\u00a0\u200b\u200bPython\u200b\u200b\u00a0\u8fd9\u6837\u7684\u7f16\u7a0b\u8bed\u8a00\uff0c\u53bb\u201c\u5de5\u5177Tools\u201d\u83dc\u5355\uff0c\u9009\u62e9\u201c\u6a21\u5f0fMode\u201d\u3002\u6709\u5f88\u591a\u6a21\u5f0f\uff0c\u5206\u4e3a\u51e0\u4e2a\u7c7b\u522b\u3002\u627e\u5230\u4f60\u8981\u5199\u7684\u683c\u5f0f\u5e76\u9009\u62e9\u5b83\u3002\u6587\u6863\u6a21\u5f0f\u52a0\u8f7d\u5728\u9ad8\u4eae\u6a21\u5f0f\u4e2d\u3002\u4f60\u53ef\u4ee5\u901a\u8fc7\u9009\u62e9\u201c\u9ad8\u4eaeHighlighting\u201d\u800c\u4e0d\u662f\u201c\u6a21\u5f0fMode\u201d\u6765\u8986\u76d6\u4e00\u4e2a\u6a21\u5f0f\u7684\u9ad8\u4eae\u65b9\u6848\u3002<\/p>\n

\"\"<\/p>\n

\u6211\u6700\u559c\u6b22\u7684\u529f\u80fd\u4e4b\u4e00\u662f\u7a97\u53e3\u53f3\u4fa7\u7684\u6587\u6863\u6982\u89c8\u3002\u5b83\u57fa\u672c\u4e0a\u662f\u6574\u4e2a\u6587\u6863\u7684\u4e00\u4e2a\u975e\u5e38\u7ec6\u5fae\u7684\u7f29\u7565\u56fe\uff0c\u6240\u4ee5\u4f60\u53ea\u9700\u70b9\u51fb\u4e00\u4e0b\u5c31\u53ef\u4ee5\u6eda\u52a8\u5230\u7279\u5b9a\u533a\u57df\u3002\u5b83\u53ef\u80fd\u770b\u8d77\u6765\u592a\u5c0f\u800c\u65e0\u7528\uff0c\u4f46\u5b83\u6bd4\u4eba\u4eec\u60f3\u8c61\u7684\u66f4\u5bb9\u6613\u786e\u5b9a\u4e00\u4e2a\u7ae0\u8282\u7684\u6807\u9898\u6216\u6587\u6863\u4e2d\u7684\u4e00\u4e2a\u8fd1\u4f3c\u533a\u57df\uff0c\u5e76\u901a\u8fc7\u70b9\u51fb\u5c31\u80fd\u63a5\u8fd1\u5b83\u3002<\/p>\n

Kate \u7684\u4e0e\u4f17\u4e0d\u540c\u4e4b\u5904<\/strong><\/div>\n

\u7531\u4e8e KWrite \u548c Kate \u4f7f\u7528\u76f8\u540c\u7684\u5e95\u5c42\u7ec4\u4ef6\uff0c\u4f60\u53ef\u80fd\u60f3\u77e5\u9053\u4e3a\u4ec0\u4e48\u4f60\u9700\u8981\u4ece KWrite \u5347\u7ea7\u5230 Kate\u3002\u5982\u679c\u4f60\u51b3\u5b9a\u8bd5\u7528 Kate\uff0c\u4f60\u4e0d\u4f1a\u56e0\u4e3a\u6587\u672c\u7f16\u8f91\u800c\u8fd9\u6837\u505a\u3002\u6240\u6709\u5f71\u54cd\u4f60\u5982\u4f55\u8f93\u5165\u548c\u4e0e\u4f60\u7684\u6587\u672c\u4e92\u52a8\u7684\u529f\u80fd\u5728\u8fd9\u4e24\u4e2a\u5e94\u7528\u7a0b\u5e8f\u4e4b\u95f4\u90fd\u662f\u4e00\u6837\u7684\u3002\u7136\u800c\uff0cKate \u4e3a\u7f16\u7801\u8005\u589e\u52a0\u4e86\u5f88\u591a\u529f\u80fd\u3002<\/p>\n

\"\"<\/p>\n

Kate \u6709\u4e00\u4e2a\u4fa7\u8fb9\u680f\uff0c\u4f60\u53ef\u4ee5\u67e5\u770b\u4f60\u7684\u6587\u4ef6\u7cfb\u7edf\u6216\u9879\u76ee\u76ee\u5f55\u3002\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0cKate \u6709\u9879\u76ee\u7684\u6982\u5ff5\uff0c\u6240\u4ee5\u5b83\u53ef\u4ee5\u5c06\u4e00\u4e2a\u4ee3\u7801\u6587\u4ef6\u4e0e\u540c\u4e00\u76ee\u5f55\u4e0b\u7684\u5934\u6587\u4ef6\u8054\u7cfb\u8d77\u6765\uff0c\u6bd4\u5982\u8bf4\u3002\u5b83\u8fd8\u6709\u4e00\u4e2a\u5f39\u51fa\u5f0f\u7ec8\u7aef\uff08\u53ea\u9700\u6309\u4e0b\u200bF4\u200b\u200b\uff09\uff0c\u5e76\u80fd\u5c06\u4f60\u7684\u6587\u6863\u4e2d\u7684\u6587\u672c\u901a\u8fc7\u7ba1\u9053\u4f20\u9001\u5230\u7ec8\u7aef\u4f1a\u8bdd\u4e2d\u3002
\n\u5b83\u8fd8\u6709\u4e00\u4e2a\u4f1a\u8bdd\u7ba1\u7406\u5668\uff0c\u8fd9\u6837\u4f60\u5c31\u53ef\u4ee5\u4e3a\u4e0d\u540c\u7684\u6d3b\u52a8\u914d\u7f6e\u4e00\u4e2a\u72ec\u7279\u7684 Kate\u3002<\/p>\n

\u9009\u62e9\u4f60\u7684 Linux \u6587\u672c\u7f16\u8f91\u5668<\/strong><\/div>\n

\u6211\u4eec\u5f88\u5bb9\u6613\u5ffd\u89c6 KWrite \u548c Kate\u3002\u56e0\u4e3a\u5b83\u4eec\u90fd\u662f\u4e0e\u684c\u9762\u4e00\u8d77\u51fa\u73b0\u7684\uff0c\u6240\u4ee5\u5f88\u5bb9\u6613\u628a\u5b83\u4eec\u89c6\u4f5c\u5f00\u53d1\u8005\u5f3a\u5236\u5305\u542b\u7684\u7b80\u5355\u6587\u672c\u7f16\u8f91\u5668\u7684\u4f8b\u5b50\u3002\u4f46\u8fd9\u8fdc\u8fdc\u4e0d\u51c6\u786e\u3002KWrite \u548c Kate \u662f KDE \u7cfb\u5217\u5e94\u7528\u4e2d\u7684\u5178\u8303\u3002\u5b83\u4eec\u4f8b\u8bc1\u4e86 KDE \u6846\u67b6\u6240\u63d0\u4f9b\u7684\u5185\u5bb9\uff0c\u5e76\u4e3a\u671f\u5f85\u5f3a\u5927\u3001\u6709\u610f\u4e49\u548c\u6709\u7528\u7684 KDE \u5e94\u7528\u5960\u5b9a\u4e86\u57fa\u7840\u3002
\n\u4e86\u89e3\u4e00\u4e0b KWrite \u548c Kate\uff0c\u770b\u770b\u54ea\u4e00\u4e2a\u9002\u5408\u4f60\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728 KDE Plasma \u684c\u9762\u4e0a\uff0c\u6709\u4e24\u4e2a\u6587\u672c\u7f16\u8f91\u5668\u53ef\u4f9b\u9009\u62e9\uff1a\u7b80\u964b\u7684 KWrite \u548c\u5f3a\u5927\u7684 Kate\u3002\u5b83\u4eec\u4e4b\u95f4 […]<\/p>\n","protected":false},"author":323,"featured_media":231486,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-237182","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/237182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/323"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=237182"}],"version-history":[{"count":1,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/237182\/revisions"}],"predecessor-version":[{"id":237186,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/237182\/revisions\/237186"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/231486"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=237182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=237182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=237182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}