Giter Site home page Giter Site logo

tusko / brackets-wp-hint Goto Github PK

View Code? Open in Web Editor NEW
49.0 49.0 14.0 311 KB

WP Functions Hint - plugin for Brackets, which will help you in writing Wordpress Themes/Plugins

License: GNU General Public License v3.0

JavaScript 100.00%
brackets brackets-extension hint wordpress writing-wordpress-themes

brackets-wp-hint's Introduction

Hi, I'm Tusko Trush wakatime tusko

🔭 10+ years experienced front-end developer.

🧔 Frontend Team Leader at ArtLabs Europe OÜ.

🧔🏻 Former Frontend Team Leader at AVSTrade.

🇼 Former Wordpress/Vue3/Node.js Developer at Lab24.

💚 Former Vue.js/Node.js developer at MyLab.

🇺🇦 Based in Lviv, Ukraine.


JavaScript TypeScript Vue

Node PHP ElasticSearch

GitLab Github

CLI npm Gulp Webpack Vite Rollup

ESLint Jest

Tusko's GitHub stats

Tusko's GitHub contributions

🤝🏻  Get in touch

brackets-wp-hint's People

Contributors

dependabot[bot] avatar fclaussen avatar macbookandrew avatar rahmon avatar stevenkellow avatar tusko 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  avatar  avatar  avatar

brackets-wp-hint's Issues

Brackets slowly

After install this extension, my brackets become slowly, even lag when hit enter.

new shortcuts

a very short way changed. sample; wp_list_categories ()

can you update new functions?

Error Install

Hi Friends, please check this 👍

imagen

Info : WIN 10

Thanks !

Newline extreme slowdown (OS X, Yosemite)

Description

Hello, maybe it is related to #13.

Some heavy load routine is being executed on each new line when pressing ENTER, making it queue these executions, extremely slowing down newlines added. Could someone else confirm this issue?

System

  • OS X Yosemite, Version 10.10.5 (14F1605);
  • MacBook Pro (Retina, 15-inch, Mid 2014).

Error reproduction

bug_newlineSlowdown.zip (video)

Tab not working after install

The default tab key, indent feature not working after install. I'm using Release 1.2 build 1.2.0-15697 (release 8f82e2a97).

After I install the extension I wasn't able to tab/indent text in a .scss file.

I need more help on how to install this extension

I've never installed an extension to Brackets. I've downloaded the zip file into my download directory on my Windows computer. I see the Show Brackets Extension menu item under Help in Brackets. I don't understand where to put files from the zip file onto my machine. I also don't understand where I should be running the npm commands you have in the readme file. Sorry for being dense, but can you please send the all the steps for integrating this into my Brackets setup. Thank you.

freeze ?>

RU: Фризит на несколько миллисекунд когда печатаешь <??>

EN: When write <??> (php) bracket freeze for a few milliseconds

issue with phpmailer_init

if i want open php tag, "<?php", i got hint "phpmailer_init", so, when i want type "<?php" and go to new line, i type "<?phpmailer_init"

freeze ?> #reopen

Ya know.
It is loading more than 7k lines in memory while first input

Originally posted by @Tusko in #35 (comment)

So, is there any solution to this problem? A really useful extension, but these 'freeze' make it impossible to use it normally(

Error with current version 2.0.4

error_brackets

Hi, on Brackets 1.3.0 (Windows 8.1 // German) I'm getting the following error in the console:

[Extension] failed to load C:/Users/Alexander/AppData/Roaming/Brackets/extensions/user/brackets-wp-functions-hint - Error: Load timeout for modules: text!wp-func.txt_unnormalized2,text!wp-func.txt
http://requirejs.org/docs/errors.html#timeout

I already reinstalled the module without luck ..

Latest version fails to install

I'm running Brackets 1.3 and tried updating to WP Hints v2.0.1 and receive an error when the extension tries to start up.

In the Brackets console it shows as this:

"[Extension] failed to load C:/Users/Trevor/AppData/Roaming/Brackets/extensions/user/brackets-wp-functions-hint - ReferenceError: lastLine is not defined"

Please let me know if you need more details! Thanks.

Make Brackets work slow

[I'm not used to this site so I hope it is right to issue this?]

When I have this extension enabled it makes the editor work a bit slow. I use win8.1 When I disable the extension the editor work fast as it should. I know Brackets have problem with other extensions that makes it run slowly. So maybe it's nothing wrong with the extension?

Invalid function

While working on sanitizing a bunch of variables, I constantly get an invalid function before the valid one:

sanitize_text_fields()
sanitize_text_field()

There is no public sanitize_text_fields() function in WordPress.

This function gets suggested first, and I press Enter by habit and when I refresh the browser, I get errors everywhere:

Fatal error: Uncaught Error: Call to undefined function sanitize_text_fields()

UPDATE: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

https://developer.wordpress.org/reference/functions/_sanitize_text_fields/

V4.0.1 really slows down newline in editor

First of all, thank you for your work on this extension.

An old problem seems to have come up again in V4.0.1. When you press return there is up to a 3-second lag until the cursor actually moves. I disabled this extension and the editor is snappy again. Replicated both on Windows 10 and Mac OS High Sierra, although it's worse on Windows.

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.