]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
devtool: ide: vscode: Configure read-only files
authorEnguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Mon, 19 Feb 2024 16:55:23 +0000 (17:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 20 Feb 2024 12:58:20 +0000 (12:58 +0000)
commit8a95ad9aecb81732c865e00a987bb8bd3d6cb91d
tree76d3e69ef5c97785ef2faf80e1f3d7b9ff5806cd
parent45704319661570b45ef69fddd6b4b4fa22ca80d1
devtool: ide: vscode: Configure read-only files

When debugging or browsing files, the user may fall into external
sources from other packages in the sysroot or dbg-rootfs. Modifying them
will only lead to confusion since they will be overwritten by Yocto. The
user should open them in a separate devtool modify session if they want
to make changes. Meanwhile, we should prevent write access to them.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/ide_plugins/ide_code.py