Giter Club home page Giter Club logo

jetbrains-react's People

Contributors

callmeberzerker avatar fer0x avatar minwe 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  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  avatar  avatar

Watchers

 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

jetbrains-react's Issues

PyCharm

Doesn't seem to work in PyCharm? It imports settings.jar without any warnings or errors, but no new live templates to be found.

Not sure what I can do to troubleshoot...

Cannot import in PHPStorm 2016.2.2

Hi,
thx for your live templates. I used them a lot.

But since PHPStorm 2016.2.* its not possible for me to import the Live-Templates.
I tried the import and the manual import.

Do you have an idea? Or is it a known bug?

Doesn't seem to work in IntelliJ Idea 2017.2

Downloaded and followed

  1. File -> Import Settings
  2. Restart

It doesn't seem to be imported after Restart. I couldn't find anything related to React in Live Templates. I can provide any logs if needed, but couldn't find any errors related to this.

IDE: IntelliJ Idea Ultimate 2017.2

Update
This issue occurred if I have Settings Repository enabled. I had to copy ReactJS.xml to config/settingsRepository/repository/templates even though it's still present in config/templates. Have to file the bug with JetBrains Team.

Pure function component

Suggested solution:

import React, {
  PropTypes,
} from 'react';

const $name$ = (props) => {
    return (
      <div>$END$</div>
    );
}

$name$.propTypes = {};
$name$.defaultProps = {};

export default $name$;

React.Component subclasses with Flow

It would be nice to have a live template for a component using flow, propTypes, and defaultProps. See this skeleton on Flow's site.

Maybe something like:

// @flow

import React, {Component} from 'react'

type Props = {}
type State = {}

class $COMPONENT$ extends Component {
    static propTypes = {}
    static defaultProps = {}

    props: Props
    state: State

    constructor(props: Props) {
        super(props)
        this.props = props
        this.state = {}
    }

    render() {
        return (
            <div></div>
        )
    }
}

export default $COMPONENT$

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.