Code Monkey home page Code Monkey logo

Comments (10)

dtrillo avatar dtrillo commented on July 25, 2024

After some time, I realized that compiling on version 2 in dependant on tsconfig.json. So, project properties Windows is not neccesary anymore.

from cats.

tcsaddul avatar tcsaddul commented on July 25, 2024

I fear that this project is already dead. I hope not.

from cats.

jbaron avatar jbaron commented on July 25, 2024

Project is not dead, but spending a lot of time abroad for my work so not too much time right now. Sorry for that.

from cats.

dtrillo avatar dtrillo commented on July 25, 2024

I hope Project can be updated. I know it cost, but keep pushing!!!

I notice that tsconfig.json is not working as expected. I using TypeScript 2.3.
The same code, on CATS, give me errors with RequireJS and jQuery. Maybe is the way I code it, but running the compile using tsc gives me no errors!
I can send the template files I use (html, ts and js files), including the tsconfig.json file, and you can verify what I got (errors that it shoudn't).
I wonder if that errors are because of TypeScript version (I'm using 2.3), or because tsconfig is not working as expected. It could be a good idea to update to TypeScript 2.3.

Also, I "hate" those themes in red, impossible to work with. Keep it simple!!!!! Or at least, give continuos to the themes of version 1. The themes with backgrounds, I dislike them! In version 2, I miss a clean theme: clear background, no image as background.
You can avoid the button for change theme (is not neccesary, because there is an option for that).

I also comment the issues to solve: clear LocalStorage for projects, themes with no distractions (this IDE is for working!!), and update to TypeScript 2.3

from cats.

jbaron avatar jbaron commented on July 25, 2024

Updated to typescript 2.4 in latest version. If you have examples what goes wrong, please do attach a project file (zip format if possible).

from cats.

dtrillo avatar dtrillo commented on July 25, 2024

Have you updated the .nw file for download?

from cats.

jbaron avatar jbaron commented on July 25, 2024

I did now, it is available as version 2.4

from cats.

dtrillo avatar dtrillo commented on July 25, 2024

static.zip

Hi.
Here you have a Flask project I am working on, and it has problems with requireJS, it is not loading jquery correctly, and other libraries.

If you ejecute "tsc" under a console, there is no errors, while under CATS, there is a lot.

I hope it helps

from cats.

jbaron avatar jbaron commented on July 25, 2024

Thanks for the example. I did some investigation and the problem is with the more (recent) attributes in the tsconfig file that can include or exclude certain files from the project. For example that you can specify a directory for the typings files. CATS right now ignore those attributes and as a consequence doesn't load the typedef files like the one for JQuery.

I guess the only clean solution is to reuse the tsc functionality to map all settings in the tsconfig file to the final list of TS files that are part of the project. The current mechanism is too simple to be able to handle arbitrary tsconfig files.

from cats.

dtrillo avatar dtrillo commented on July 25, 2024

Thanks for your investigation.
I am gladd you know where the problem is.

from cats.

Related Issues (20)

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.