Snippets React Native is a plugin for the Acode editor that provides snippet functionalities and IntelliSense for importing components, specifically for React Native development. The plugin implements an autocomplete functionality for snippets, automatically suggesting code completion options based on the available snippets.
v1.0.3
- Import IntelliSense
- Bug Fixes
v1.0.2
- CSS Properties for React Native
v1.0.1
- Snippets for React Native
The plugin offers a series of predefined snippets to facilitate writing code in React Native. Some of the available snippets include:
- Quick imports for React and specific React Native components (such as
View
,Text
,Button
, etc.). - Basic structures for creating functional components in React Native.
- Predefined constants to expedite writing common code.
The complete list of available snippets can be found in the Snippets section.
Import IntelliSense: Create your components and import them with the tag, Exp:
<Mycomponent />
. The plugin will then create your component at the top of the file:
import Mycomponent from './components/Mycomponent';
- sure you have the Acode editor installed.
- Install this plugin in Acode.
- While typing code in a React Native file, use the configured snippet prefixes to quickly access predefined code snippets.
Available Snippets
Prefixo | Tipo de Snippet |
---|---|
rn- | React Native structures |
im- | Basic imports |
alin , borde | Css Properties |
clg- | Debugging |
- Contributions for new snippets or improvements are welcome!
- Feel free to propose new features or enhancements for this plugin.
- Fork the repository.Create a branch for your changes (git checkout -b feature/new-feature).
- Commit your changes (git commit -am 'Add new feature').
- Push to the branch (git push origin feature/new-feature).Create a new Pull Request.