Giter Site home page Giter Site logo

souche / vscode-mindmap Goto Github PK

View Code? Open in Web Editor NEW
185.0 185.0 57.0 833 KB

view or edit mindmap in VSCode

Home Page: https://marketplace.visualstudio.com/items?itemName=Souche.vscode-mindmap

License: GNU Affero General Public License v3.0

TypeScript 3.36% JavaScript 67.70% HTML 15.62% CSS 12.39% PHP 0.93%
mindmap vscode-extension

vscode-mindmap's People

Contributors

wangtianlun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vscode-mindmap's Issues

Adopt VS Code's 'asWebviewUri' API

Hi, I maintain VS Code's Webview API

Issue

Our telemetry suggests that your extension uses webviews and may be loading resources in these webviews using hardcoded vscode-resource: URIs. These URIs have some important limitations and don't work properly when VS Code is run in a browser. We are also making changes in the desktop version of VS Code that may cause these URIs to not work properly in future versions of VS Code.

While we are making our best effort to continue support existing webview extensions that use vscode-resource: URIs on desktop versions of VS Code, we will not able to fully support all uses cases.

Fix

To ensure that your extension continues to work in as many environments as possible—including on web and remotely—please:

These APIs shipped around 2 years ago so they should be available in all modern versions of VS Code. You can find additional information about the issue here: microsoft/vscode#97962

Let me know if you have any questions about this change

微改的插件已上架,欢迎体验,支持导入导出多种格式,多国语言,直接打开km、xmind

下载地址

  1. 支持多国语言(简体中文,繁體中文,English,German,Spanish,French,Italian,Czech,Hungarian,Japanese,Korean,Polish,Portuguese,Russia)
  2. 支持直接打开km、xmind文档
  3. 支持导出高清图片(在插件设置中配置导出图片缩放倍数、背景色)
  4. 支持导出km、xmind、markdown、svg、txt、json、png文件
  5. 支持导入km、xmind、markdown、txt、json文件
  6. 支持自定义上传图片接口,如果未填写则使用本地图片

English buttons

Hi, I would like to discuss the approach for adding translations for e.g. English. Currently the (i think) Chinese symbols are hardcoded in the html-files.

I'm thinking about adding a setting to either show the Chinese symbols are English text and create a PR for this.

Please let me know under what circumstances you would approve a PR for this.

--
嗨,我想讨论为例如添加翻译的方法。 英语。 目前(我认为)中文符号在html文件中是硬编码的。

我正在考虑添加一个设置来显示中文符号是英文文本并为此创建PR。

请告诉我你在什么情况下批准PR。

bug

Type: Bug

bug

Extension version: 0.0.5
VS Code version: Code - Insiders 1.80.0-insider (49b8e2d5410795e5a23a9c6b7f99b97f4afb4b47, 2023-06-23T13:49:31.833Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 PRO 6850HS with Radeon Graphics (16 x 3194)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.31GB (7.72GB free)
Process Argv --folder-uri file:///d%3A/d5c-IM-ts --crash-reporter-id bf3b685b-0553-45bb-bca4-d5162ccc98b3
Screen Reader no
VM 0%
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256197
vslsvsres303:30308271
pythontb:30258533
pythonptprofiler:30281269
vsdfh931cf:30280410
vshan820:30294714
vscod805:30301674
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
pythonvs932:30404738
py29gd2263:30776702
vsclangdf:30492506
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30618038
pylantcb52:30590116
pyind779:30611226
pythonsymbol12:30651887
2i9eh265:30646982
showlangstatbar:30737417
pythonms35:30671666
pythonfmttext:30716741
pythoncmvfstr:30726892
9b8hh234:30694863
fixshowwlkth:30771523
showindicator:30766888
pythongtdpath:30726887
gsof1:30771514
e440d664:30776459
pythonnosmt12:30773574
pythonidxpt:30768918
pythondjangots:30768917
pythonnoceb:30776497
e537b577:30772214
dsvsc013:30777762

Autosave

I forget to save sometimes expecting changes to be saved automatically.
Please add autosave feature.
Thanks.

颜色填充不可用

appearence页面无法自定义节点颜色, 颜色填充按钮无法弹出调色面板.

image

Erreur 401 when load the mindmap preview

Type: Bug

I don't know how to reproduce this trouble.

Here what I get when I open a .km file :

https://prnt.sc/RCbwUuZlNv84

Note: If I "re-open the folder in windows", then the preview is OK

Extension version: 0.0.5
VS Code version: Code 1.73.1 (6261075646f055b99068d3688932416f2346dd3b, 2022-11-09T04:27:29.066Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.15.68.1-microsoft-standard-WSL2

System Info
Item Value
CPUs Intel(R) Core(TM) i3-1005G1 CPU @ 1.20GHz (4 x 1190)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) undefined
Memory (System) 11.79GB (1.50GB free)
Process Argv --crash-reporter-id ec0580f2-319f-40bf-9b7c-a5cb8c909084
Screen Reader no
VM 0%
Item Value
Remote WSL : Debian
OS Linux x64 5.15.68.1-microsoft-standard-WSL2
CPUs Intel(R) Core(TM) i3-1005G1 CPU @ 1.20GHz (4 x 1190)
Memory (System) 5.68GB (4.31GB free)
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
vscccc:30610679
pyindex848:30577860
nodejswelcome1:30587005
fc301958:30595537
3biah626:30602489
gswce1:30612156
iaj6b796:30613358
dbltrim-noruby:30604474
f6dab269:30613381

expand / collapse shortcut?

我喜欢这个扩展!! 到目前为止,键盘快捷键很酷。
有展开/折叠树的快捷键吗?
与单击 +/- 按钮相同

I love this extension!! the keyboard shortcuts are cool so far.
is there a shortcut key to expand/collapse the tree?
same as clicking the +/- button

Screenshot 2023-08-02 at 10 08 11

一些建议

  1. 删除ctrl+m的快捷键。因为这是vscode 的默认快捷键
  2. 建议最后缀.km 文件支持打开。使用vscode 的自定义编辑器的api

找到了更改为中文的方法,也就花了亿点点时间而已

打开文件
windows:%USERPROFILE%.vscode\extensions\souche.vscode-mindmap-0.0.5\webui\dist\kityminder.editor.min.js
Linux和macOS:~/.vscode/extensions\souche.vscode-mindmap-0.0.5\webui\dist\kityminder.editor.min.js
搜索

["config","lang.en",

替换为

["config","lang.zh-cn",

搜索

return{"zh-cn"

替换为

return{en

保存,ok。

Vulnerability security report

Hello,

After cloning the repository, I performed a security analysis and discovered a critical vulnerability associated with it. For security best practices, I believe it's unwise to disclose the vulnerability details publicly. Since I was unable to locate any information on how to report security issues, could you guide me on the appropriate procedure or provide a secure point of contact to report this finding?

您好,

在克隆存储库之后,我进行了安全性分析,发现了一个与之相关的严重漏洞。出于安全最佳实践,我认为公开透露漏洞详情是不明智的。因为我没有找到关于如何报告安全问题的信息,请问您能指导我正确的程序,或者提供一个安全的联系方式来报告这一发现吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.