Git Product home page Git Product logo

ctags-elm's People

Contributors

andys8 avatar bitterjug avatar gdennie avatar kbsymanz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ctags-elm's Issues

Reads .js files in elm-stuff

If the recursive ctags option is used and the directory includes elm-stuff, it may include references found in some of the native js files.

Rename .ctags to make it easier to see

.ctags is a hidden file. There's no reason for this to be a dot file in the repo, users can copy the contents to their .ctags file or other destination, or link to it with a different name. I'm using fresh. But it dosn't even show up in nerdtree until I turn on hidden files which is odd. I'm proposing to rename the file to elm.ctags and add a symlink to .ctags for backward compatibility. With a note in the readme to deprecate use of the hidden file. What do you think?

Do we really want to distinguish between constants and functions?

This isn't really a valid distinction in functional programming. Constants are functions that don't take arguments. If we do want to distinguish them, I
think we need to do so on the function declaration (one or more lower case
identifiers followed by equals, or something) not by type as is
currently the case.

I have defined a function type:

type alias Renderer =
    List (Attribute Msg) -> String -> Html Msg

And instances of this type:

renderName : Field.Renderer
renderName atts value =
   ...

get falsely classified as constants because there is no arrow on the type even though the declaration clearly takes a parameter.

Since type annotations are optional, it'd probably be better to match on the first line of a function definition if that's possible. What do you think?

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.