Comments (8)
Normally code hints are implemented, do you get other features ? (quick edit error reporting) , did you forgot to add /* @flow */
on top of your file ?
You can also check if you got an error.
from brackets-flow.
@fdecampredon not sure what you mean?
It is showing errors in the console at the bottom if I give the wrong type to an object but if I try typing I do not see any code hints coming up. Do I need to turn on a setting or another package perhaps?
from brackets-flow.
@fdecampredon hmm, it looks to break down whenever I have a class
in the file. Do you know if brackets has issues with es6? (new to this editor)
Edit: nvm, it works with classes, I started a new file and im bringing over contents from another file line by line trying the code hints and it seems like if you have the following:
console.log('\nMy debug line')
it breaks code hinting. if I remove the \n
it works
from brackets-flow.
@fdecampredon so yeah, confirmed that it is the \n
character breaking code hints. I also disabled your extension to see if it was a brackets issue, but it is isn't because code hints started to work even with the \n
character present, as soon as I turned brackets-flow
back on, it stopped working as long as I had a \n
in the file. Any ideas what it could be?
from brackets-flow.
Yup I have some idea I guess it comes from the nodejs integration need to try it could you attach a sample to the issue ?
from brackets-flow.
/* @flow */
type Test = {name: ''}
console.log('\nTest Log');
// Try hints here
from brackets-flow.
@josebalius yup the problem is pretty obvious
I try to escape things for unix command I guess I need to espace \n
in a way but I don't know how :p will check when I have to do so thanks for the bug report
from brackets-flow.
@fdecampredon it's this line right: https://github.com/fdecampredon/brackets-flow/blob/master/node/flowDomain.js#L10 ? I can play with it and try to see if I can fix. I'll let you know. Apart from that, it works great! thank you
from brackets-flow.
Related Issues (4)
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 brackets-flow.