Code Monkey home page Code Monkey logo

fabcod's People

Contributors

dyoungmcwi avatar jd-howard avatar

Watchers

 avatar  avatar  avatar

fabcod's Issues

Bug Report: AutoComplete / Suggestion only works if already in the code.

Describe the bug
Autocomplete doesn't appear to work until a prior example is already in the code.
e.g. DEBUG doesn't show up when you first type "D".
Once the first DEBUG is there, then typing "D" shows it as an option.
DIM does not show up until it also is in the code. Then, typing "D" displays both.

Expected behavior
Would expect a list of all "D" prevised functions to show up once you type the letter "D" even if the function was not used before.

Screenshots
See the Autodesk Screencast for an example of the issue.

https://autode.sk/2NNZRCh

Additional context
N/A

To Reproduce
Steps to reproduce the behavior:

  1. Start a new COD file.
  2. Type "D". Notice that no list is displayed.
  3. Complete typing the function "DEBUG" and notice once complete, it highlights.
  4. Type "D" again on the next line and notice that "Debug" is now listed as a suggestion but that "DIM" is not.
  5. Finish typing "DIM"
  6. Now type "D" a third time and notice that "DEBUG" and "DIM" are now both suggestions because they now both exist in the code.

Bug Report: INCLUDE function lists all file (not just COD)

Describe the bug
INCLUDE function file list shows all files.

Expected behavior
INCLUDE function should only show COD files.

Screenshots
2021-03-16_20-41-32

Additional context
Tested against Build 0.1.0

To Reproduce
Steps to reproduce the behavior:

  1. Add Files of various types to folder where COD Scripts exist.
  2. Edit one of the COD Scripts in that folder and type an INCLUDE function
  3. Notice the resulting file list shows all the files, not just those with a COD extension.

FeatureReq: Additional IntelliSense Help for Functions w/RETURNs

Describe the solution you'd like
FUNCTION definitions can include a RETURN value. When typing the function name, it would ne nice if IntelliSense would provide additional context to suggest that a function has a return value.

Describe possible alternatives you've considered
N/A

Additional context
Particularly helpful for externally defined functions where the function definition isn't readily available.

** Screen Cap**
2021-03-16_21-12-18

FeatureReq: RUN function should show same file list as INCLUDE does

Describe the solution you'd like
INCLUDE function displays a list of files to reference. The RUN function does not but should so the same thing. It's syntax is the same except it immediately executes the code on those COD scripts.

Describe possible alternatives you've considered
N/A

Additional context
N/A

FeatureReq: Item Definition Parser Utility / Finished Message

Describe the solution you'd like
Item Definition Parser does not provide any feedback when it's completed. Would like a simple status text on the dialog to indicate when it's complete. Anything to eliminate having to look at JSON file date to see if it matches the TS file.

Describe possible alternatives you've considered
n/a

Additional context
image

FeatureReq: Support Folding for SELECT/END SELECT

Describe the solution you'd like
Would like to see Folding of code for SELECT/END SELECT like is supported for other conditional and looping functions.

Describe possible alternatives you've considered
N/A

Additional context
Don't see a need to folder the CASE statements within SELECT, merely the entire SELECT/END SELECT section of code.

Screen Cap
2021-03-16_21-01-57

Bug Report: IntelliSense displays Local variables as Global

Describe the bug
Variables defined locally within a function display in IntelliSense anywhere they are typed in the file

Expected behavior
Variables defined locally within a function should only display in IntelliSense when typed within the function they are local to.

Screenshots
2021-03-18_21-32-23
2021-03-18_21-33-16

Additional context
See Screencast recording...

To Reproduce
Steps to reproduce the behavior:

  1. Define 2 functions in a COD Script
  2. In one of the functions, Dimension a local variable.
  3. Type that variable in the other function or outside of the functions and IntelliSense will still display them

Bug Report: No IntelliSense for Argument Variables

Describe the bug
When a function makes use of an argument, typing in that argument variable within the function does not display in IntelliSense

Expected behavior
Would expect variables used as arguments to display in the IntelliSense list as they are typed while within the function they are used in.

Screenshots
2021-03-18_21-23-28

Additional context
See Screencast recording here....

To Reproduce
Steps to reproduce the behavior:

  1. Define a function which makes use of an argument
  2. Within that function definition, start typing the variable used for the argument
  3. IntelliSense does not display the variable in the list

FeatureReq: Debug & Output Implied-Function Highlighting

Describe the solution you'd like
A couple functions like DEBUG and OUTPUT can be used with or without parenthesis. Without parenthesis, they do not highlight. Not sure if there's a way to define the objects so that they do.

Describe possible alternatives you've considered
Perhaps a specialty keywords list/object that highlights the same color so if it's typed without parenthesis, the syntax is highlighted via keywords or if typed with parenthesis it's highlighted via the functions.

Additional context
Not sure if my suggestion is the proper way to handle this. Also not sure how to make the color coding the same for the DEFUG function if that was the proper way or if there's other parts of code that would need to be updated (ItemParser, etc.)

See the following Autodesk Screencast for an example of the issue...
https://autode.sk/3tdttcu

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.