/plugin-acode-react

Primary LanguageJavaScriptMIT LicenseMIT

imageshack

Snippets React Native

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.

Updates

v1.0.3
  • Import IntelliSense
  • Bug Fixes
v1.0.2
  • CSS Properties for React Native
v1.0.1
  • Snippets for React Native

Features: Snippets

The plugin offers a series of predefined snippets to facilitate writing code in React Native. Some of the available snippets include:


imageshack


Features: CSS Properties for React Native


imageshack


  • 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.

imageshack

The complete list of available snippets can be found in the Snippets section.

Features: Auto Import

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';

imageshack


How to Use

  1. sure you have the Acode editor installed.
  2. Install this plugin in Acode.
  3. 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

  1. Contributions for new snippets or improvements are welcome!
  2. Feel free to propose new features or enhancements for this plugin.
  3. Fork the repository.Create a branch for your changes (git checkout -b feature/new-feature).
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature/new-feature).Create a new Pull Request.

Author : RsjRoni