0
点赞
收藏
分享

微信扫一扫

R语言数据整理和分析(1)

殇感故事 2024-09-15 阅读 20

虽然cursor目前只支持英文但是它强大的代码联想能力以及问答能力,可以高效的提高编码效率。

如下步骤所有的前提是你的ubuntu上面已经安装了vscode以及其必须的extensions。

1 下载

到官网https://www.cursor.com下载指定版本的软件。
下载到本地以后会生成如下软件名的一个软件。
cursor-0.40.4x86_64.AppImage
执行如下命令为其增加可执行权限。
chmod u+x cursor-0.40.4x86_64.AppImage

2 安装必要的lib

sudo apt install libfuse2t64

3 创建一个AppArmor policy

创建文件/etc/apparmor.d/cursor

# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"

abi <abi/4.0>,
include <tunables/global>

profile cursor /home/bartmr/cursor.AppImage flags=(unconfined) {
  userns,
}

4 创建启动文件

touch cursor.sh
vim cursor.sh
 nohup ./cursor-0.40.4x86_64.AppImage --no-sandbox "$@" --ozone-platfor    m=wayland &
chmod u+x cursor.sh

5 启动

./cursor.sh
打开后要先登陆,没有账号的要提前申请一个。
我再附上一张网上拷贝的图片:
在这里插入图片描述
打开项目以后就可以正常的使用cursor了。
在这里插入图片描述

举报

相关推荐

0 条评论