Comments (7)
should be relative easy to do, can u submit a PR?
from codemirror-swift.
That's the thing, I'm not sure how you generated the set of files that you have. I tried installing from npm
, but it brought in hundreds of packages and things. How did you generate the 44 items that are in your package? Did you grab it from their dev repo?
Sorry, I'm new to CodeMirror and I've spent hours trying to figure it out, but then kept getting compile errors and such, so I thought I'd ask to see if you could update the package.
Is this a project you're no longer working on? It's the only one that I could find for Swift that had CodeMirror 6 in it. All the others seem to use CodeMirror 5.
from codemirror-swift.
If you tell me what steps to do, I can submit a PR if you like.
Did you get the files from the CodeMirror dev repo? Or did you use npm install to get them? And how did you get just the modules that are in your version?
from codemirror-swift.
Hey @brendand
The subfolder https://github.com/khoi/codemirror-swift/tree/main/Sources/CodeMirror/src
can be treated like a node project.
See package.json
for all the modules I used, u can npm install
or upgrade
inside that folder
I think I was just following the instruction on https://codemirror.net/examples/bundle/
from codemirror-swift.
I actually did manage to find out that just by changing the version numbers in the package.json
file would update them to the current versions. At the time I wrote my reply I had no idea how it was all put together. I'm still trying to enhance it to support dynamic font sizing and hopefully context aware snippets. Both are proving to be quite challenging.
from codemirror-swift.
Yeah, I'd play with codemirror in javascript first before thinking about porting it to Swift.
If there is something useful, please submit a PR, I'd highly appreciate it.
from codemirror-swift.
it's been updatedin 5edc929
from codemirror-swift.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codemirror-swift.