CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
13.01k stars 3.51k forks source link

cesium from vscode #11282

Closed pyp123 closed 1 year ago

pyp123 commented 1 year ago

Why is there no intelligent prompt for the relevant APIs in cesium in vscode? It's a bit tiring to manually complete a long string of words every time. Do you have any good suggestions

an501920078 commented 1 year ago

Using typescript!

pyp123 commented 1 year ago

I don't quite understand. Do you mean using TS for code writing and development? Or what kind of TS file is imported?

an501920078 commented 1 year ago

58EA6FE7-4062-4677-B87D-E2E80ED3CB7F There are hints that I use typescript for development

pyp123 commented 1 year ago

我去,大哥,我刚开始学cesium,从最基础的html引入一个cesium.js文件来进行展示,但是vscode不提示拼全,太烦了呜呜

an501920078 commented 1 year ago

你需要一个typescript项目,配合cesium开发会很nice! typescript不光是针对cesium,而是针对所有的GIS库,各种GIS库API类型出参入参都得去翻文档,开发速度很缓慢。如果是初学没关系,后期实际项目建议使用

pyp123 commented 1 year ago

好的,蟹蟹哥,方便留个vx给小弟吗

ggetz commented 1 year ago

CesiumJS is a big project, so we use GitHub for feature requests and bug tracking exclusively. In the future, please take any questions to the Cesium Forum where there are members of the community and developers from the team who can help. Thanks!