File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11appname=code.editor
22version=0.0.1
33changelog=changelog
4- desc=`<div>VS Code 同源库,支持多种编码文件的操作 ,更有语法高亮、代码补全。</div><div>多数文件可双击文件或右键选择代码编辑器打开,部分文件可右键【详细信息】-【复制原始路径】,点击桌面图标访问后粘贴路径打开。</div>
4+ desc=`<div>VS Code 同源库,多种编码文件的操作 ,更有语法高亮、代码补全、目录管理和图片预览 。</div><div>多数文件可双击文件或右键选择代码编辑器打开,部分文件可右键【详细信息】-【复制原始路径】,点击桌面图标访问后粘贴路径打开。</div>
55<div>程序已开源,欢迎 Star,欢迎 <a href="https://github.com/FNOSP/App.Bin.CodeEditor/issues" target="_blank">Issues</a></div>
6- <div>提示:移动端暂未做 UI 适配,访问可能布局错乱;访问二进制文件将显示乱码,请谨慎操作 。</div>`
6+ <div>提示:移动端暂未做 UI 适配,访问可能布局错乱。</div>`
77arch=x86_64
88display_name=代码编辑器
99maintainer=Flex_7746
Original file line number Diff line number Diff line change @@ -100,7 +100,6 @@ watch(
100100<style lang="scss">
101101#editor-view {
102102 position : relative ;
103- z-index : 1 ;
104103 flex : 1 ;
105104
106105 > .content {
Original file line number Diff line number Diff line change @@ -34,7 +34,6 @@ const changeFolderWidth = (v: number) => {
3434<style lang="scss">
3535#left-view {
3636 position : relative ;
37- z-index : 5 ;
3837 border-right : 1px solid var (--el-border-color );
3938
4039 > .view {
Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ const editor = useEditorStore()
6868 --el-tree-text-color : var (--el-text-color-regular );
6969 color : var (--el-tree-text-color );
7070 font-size : var (--el-font-size-base );
71+ white-space : nowrap ;
72+ overflow : hidden ;
73+ text-overflow : ellipsis ;
7174 }
7275}
7376 </style >
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ onMounted(() => {
3636<style lang="scss">
3737#ment-view {
3838 position : relative ;
39- z-index : 10 ;
4039 display : flex ;
4140 flex-direction : column ;
4241 width : 40px ;
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ export const HOST = IS_DEV ? 'http://127.0.0.1:17746' : '/cgi/ThirdParty/code.ed
44
55export const USER_CONFIG_PATH = IS_DEV
66 ? '/Users/flex/Downloads/config.json'
7- : '/var/apps/code.editor/shares/config.json'
7+ : '/var/apps/code.editor/shares/code.editor/ config.json'
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export const getFullPath = (path: string) => {
99 return path
1010 }
1111
12- return `${ HOST } / ?_api=read&path=${ encodeURIComponent ( path ) } `
12+ return `${ HOST } ?_api=read&path=${ encodeURIComponent ( path ) } `
1313}
1414
1515export async function isBinaryContent ( blob : Blob ) {
You can’t perform that action at this time.
0 commit comments