Giter Site home page Giter Site logo

phplint.novaextension's People

Contributors

vinecode-andy avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

nye

phplint.novaextension's Issues

online validation

please create validate php file if he on remote server and you edit him online .

error on installation

When I install the extension "PHPLint" into Nova v1.0b19, I immediately receive the following error:

PHPLint[14:14:31.006000] Extension encountered an uncaught exception:
/Users/sroka/Library/Application Support/Nova/Extensions/vinecode.PHPLint/Scripts/main.js (Line 49, Column 0)
TypeError: undefined is not an object (evaluating 'message.replace')
    file:///Users/sroka/Library/Application%20Support/Nova/Extensions/vinecode.PHPLint/Scripts/main.js:49:34

No other extensions are installed — this is a new and clean installation of Nova b19.

Extension reports "Could not open input file:"

Just installed Nova and the extension. Working against a remote project files open fine with Nova but the extension reports:-

Could not open input file: /remote/path/to/file/index.php

Fixing an error & saving the document again does not remove the error indicator

When saving and having the code validated a warning is shown on the causing line.

When fixing the error (for good) and saving again, the warning is not removed and keeps being displayed, until anything new is written / edited in the file, or the file is closed and reopened.

Expected behaviour:
when a re-validation happens and the previously indicated error is successfully resolved, it should remove the warning indicator instantly.

uncaught exception

New to nova, and to PHPLint, but it appears to be non-functional for me, producing the following error:

Extension encountered an uncaught exception: /Users/daniel/Library/Application Support/Nova/Extensions/vinecode.PHPLint/Scripts/main.js (Line 49, Column 0) TypeError: undefined is not an object (evaluating 'message.replace') file:///Users/daniel/Library/Application%20Support/Nova/Extensions/vinecode.PHPLint/Scripts/main.js:49:34

any pointers on how to get this back up and running would be gratefully received – google not being helpful!

Path to php executable is not properly escaped when stored in UserConfiguration.json (affects default MAMP bin php exec)

Manually setting the php executable path to the php bin included within MAMP seems not to work - could that be?

/Applications/MAMP/bin/php/php7.4.2/bin/php
=> in the UserConfiguration.json the slashes in the path will be escaped with \

When opening PHP files & validating on save, the Debug Log only displays a message as follows:

PHPLint[21:23:39.013000] Errors parsing /Volumes/macOS/Users/me/Sites/project/index.php

installation instructions unclear

The installation instructions in the readme are unclear for me on a couple points.

(1) installing PHP
They say "you must ensure that php is installed on your system" and recommend using Homebrew to do it. Yet, Mac OS X comes with PHP pre-installed — you just need to enable it (such as from these instructions).

  • If you already have the default installation of PHP running on your system, should PHPLint work?
  • Or does the Homebrew installation you recommend install components that are not part of OS X's built-in version on PHP?
  • Homebrew also has a formula for PHPLint specifically. Should this be installed as well?

(2) Executable path
In the instructions, the executable path is just a placeholder ("/path/to/sass"). Yet both the built-in version of PHP and the Homebrew version install PHP to a specific location: /usr/bin/php. The instructions should say that this is a standard default location.

Thank you.

Nova has this build in?

The README doesn't make it clear what this extension does beyond what Nova has already. Could you clarify why the need for this extension. Thanks for the help.

Uncaught exception 'stdOut[0].search'

Nova reports that PHPLint encountered an uncaught exception:

Extension encountered an uncaught exception:
/Users/######/Library/Application Support/Nova/Extensions/vinecode.PHPLint/Scripts/main.js (Line 41, Column 29)
TypeError: undefined is not an object (evaluating 'stdOut[0].search')
    @file:///Users/######/Library/Application%20Support/Nova/Extensions/vinecode.PHPLint/Scripts/main.js:41:29
    @[native code]
    promiseReactionJob@[native code]

I'm on Nova 8.4, build 355205. Any ideas what might be the problem?

Errors not showing on the issues panel

When I save a php document with a syntax error (like a missing ;) nothing is showing on the issues panel.

I can see a message on the extension log: PHPLint Errors parsing /some/project/some/file.php but nothing on the issues panel.

I gues it is supossed to show someting in the issues panel, right?
Do you know is there's any problem with this?

Thanks

How to use

Please tell me how to use it? Is there a a secret key combination? Menu option? I have it installed but it doesn't seem to do anything? Yes, I have PHP

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.