Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EventSense #16

Open
McTwist opened this issue Nov 25, 2017 · 3 comments
Open

Add EventSense #16

McTwist opened this issue Nov 25, 2017 · 3 comments

Comments

@McTwist
Copy link
Owner

McTwist commented Nov 25, 2017

Whenever a script is pasted onto the window, store the information, along with comments and whitespace, somewhere so it can be retrieved and added when creating the script.

This might seem most difficult and might result in unexpected output, but if properly done with as little predictions as possible, then this will be a really welcoming addition.

Most certainly, at least make it possible for the editor to keep its content.

@McTwist
Copy link
Owner Author

McTwist commented Nov 26, 2017

In the object, there should be some sort of way to define specific information of how the script is created, making it possible to store exact information about whitespace, newline and comment. It is currently unknown how this is going to be, but most suitable would be to store the info in a field group named graph, which will be a list of each line and when an event will be added to it.

The biggest problem would be events that is split up in newlines or got lots of whitespace in them. Also, if the events are changed significantly, how will that modify the existing events? One might be able to achieve that by linking the graph to specific lines and somehow get to know the info from how the events are modified.

@McTwist McTwist changed the title Add caching Add "IntelliSense" Dec 6, 2017
@McTwist McTwist mentioned this issue Dec 6, 2017
4 tasks
@haze
Copy link

haze commented Jan 1, 2018

I'm just curious, IntelliSense in regards to what information? IntelliSense usually provides in-depth information unlike file-wide autocomplete for named fields and functions, usually global. Does this mean the inclusion of other evented brick names and such?

@McTwist
Copy link
Owner Author

McTwist commented Jan 2, 2018

Yes, it should include lookup for events within the same brick for now, but later on it would support multiple bricks, for instance for labels.

@McTwist McTwist changed the title Add "IntelliSense" Add EventSense Mar 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants