[product suggestions] 建议增加代码格式化和工具条、优化调试功能
Tofloor
poster avatar
AK2015
deepin
5 hours ago
Author

如题,IDE似乎有几个月没有更新动静了,这个有人维护吗?希望能做Java和Python的代码格式化。另外代码调试也很不方便,我有个python代码希望把文件下载到downloads目录,点击调试,IDE提示下载debugpy后,依然调试失败,把downloads目录chmod 777都没用,不知该怎么解决。

工具条功能需求参见https://bbs.deepin.org/post/293735

调试报错日志如下:

22:40:15:请求调试端口...

22:40:16:调试开始

22:40:16:通过端口7000启动dap会话...
Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/zhongyi/.unioncode/packages/Python3.7.3/debugpy/main.py", line 39, in
cli.main()
File "/home/zhongyi/.unioncode/packages/Python3.7.3/debugpy/server/cli.py", line 430, in main
run()
File "/home/zhongyi/.unioncode/packages/Python3.7.3/debugpy/server/cli.py", line 284, in run_file
runpy.run_path(target, run_name="main")
File "/home/zhongyi/.unioncode/packages/Python3.7.3/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 322, in run_path
pkg_name=pkg_name, script_name=fname)
File "/home/zhongyi/.unioncode/packages/Python3.7.3/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 136, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "/home/zhongyi/.unioncode/packages/Python3.7.3/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 124, in _run_code
exec(code, run_globals)
File "/home/zhongyi/Music/111/main.py", line 26, in
os.makedirs(SAVE_DIR, exist_ok=True)
File "/usr/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: 'downloads'

Reply Favorite View the author
All Replies

No replies yet