{"id":13532315,"url":"https://github.com/susiwen8/echarts-vscode-extension","last_synced_at":"2025-09-10T14:02:50.234Z","repository":{"id":42929164,"uuid":"231161843","full_name":"susiwen8/echarts-vscode-extension","owner":"susiwen8","description":"VSCode extension for Apache ECharts","archived":false,"fork":false,"pushed_at":"2023-01-07T15:21:07.000Z","size":4876,"stargazers_count":36,"open_issues_count":20,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-02T19:34:07.726Z","etag":null,"topics":["echarts","typescript","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/susiwen8.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-01T00:59:53.000Z","updated_at":"2024-09-27T22:06:06.000Z","dependencies_parsed_at":"2023-02-07T12:46:09.595Z","dependency_job_id":null,"html_url":"https://github.com/susiwen8/echarts-vscode-extension","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susiwen8%2Fecharts-vscode-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susiwen8%2Fecharts-vscode-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susiwen8%2Fecharts-vscode-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/susiwen8%2Fecharts-vscode-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/susiwen8","download_url":"https://codeload.github.com/susiwen8/echarts-vscode-extension/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709923,"owners_count":20821297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["echarts","typescript","vscode-extension"],"created_at":"2024-08-01T07:01:09.986Z","updated_at":"2025-04-01T20:31:47.068Z","avatar_url":"https://github.com/susiwen8.png","language":"TypeScript","funding_links":[],"categories":["Tools","TypeScript"],"sub_categories":["VSCode Extensions"],"readme":"# echarts-vscode-extension\n\n![logo](./images/logo.png)\n\nThis is unofficial vscode extension for [Apache ECharts](https://github.com/apache/echarts)\n\n## Install\n* `ext install vscode-echarts-extension`\n* Marketplace [![](https://vsmarketplacebadge.apphb.com/version/susiwen8.vscode-echarts-extension.svg)](https://marketplace.visualstudio.com/items?itemName=susiwen8.vscode-echarts-extension) [![](https://vsmarketplacebadge.apphb.com/installs/susiwen8.vscode-echarts-extension.svg)](https://marketplace.visualstudio.com/items?itemName=susiwen8.vscode-echarts-extension)\n\n## Commands\n\nThis extension provides 2 commands\n\n* `echarts.activate`: extension provides completion when matched case occur\n* `echarts.deactivate`: extension never show completion\n\nPS: From 0.1.2, extension won't provide completion at first, because JS file may not import `echarts`. User need to execute `echarts.activate` at command panel.\n\n## Example\n![example](./gif/example.gif)\n\n## Problems\n* ~~All options information were received by ajax, useless when there were no Internet.~~ Cache response data (\u003cfont color=\"red\"\u003eUpdate: json file store at local\u003c/font\u003e)\n* ~~Due to Apache server response speed, sometime connection timeout.~~(\u003cfont color=\"red\"\u003eTrying Netlify, but JSON files are so big and may have other known issues\u003c/font\u003e)(\u003cfont color=\"red\"\u003eUpdate: json file store at local\u003c/font\u003e)\n* ~~Use closest node to determine CompletionItem which sometime is inaccurate.~~ Solution: Use [acorn](https://github.com/acornjs/acorn) to generate AST and find closest node by using [acorn-walk](https://github.com/acornjs/acorn/tree/master/acorn-walk)\n* ~~Don't support completion when object inside object~~ Find out all ancestors option\n* All options must be in one root object (There is nothing I can do about it, it has to be :man_shrugging:)\n\n## Suggestion\nFor the purpose of functionnality, I strongly recommend that putting echarts option object at seperated js file, and put options in same object.\n(Actually, this will reduce losts of work, make my life much easy :stuck_out_tongue_winking_eye:)\n\n## Documentation\nDocumentation generate from [here](https://github.com/susiwen8/incubator-echarts-doc/tree/api).\n\n## TypeScript support\nI want to thanks [David Sherret](https://github.com/dsherret) for doing an amazing project [ts-ast-viewer](https://github.com/dsherret/ts-ast-viewer). I have took the core function `getDescendantAtRange` to this project which can find out which node the cursor in.\n\n## TODO\n- [x] Downgrade\n- [x] Optimization\n- [x] Object inside Object ex. title.textStyle\n- [ ] Replace Apache api (WIP, trying Netlify and reduce json file size)\n- [x] base on option value type to provide helpful snippet text.\n- [x] Check if type of value were correct.\n- [x] Provide english documentation\n- [ ] Provide chinese documentation\n- [x] Convert HTML to Markdown (documentation)\n- [x] Check if value were resonable.\n- [ ] HoverProvider\n- [x] More command\n- [x] TypeScript support\n- [ ] Add default value for option\n- [ ] New option data structure","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsusiwen8%2Fecharts-vscode-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsusiwen8%2Fecharts-vscode-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsusiwen8%2Fecharts-vscode-extension/lists"}