Giter VIP home page Giter VIP logo

nppsync's Introduction

NppSync

A notepad++ plugin. Auto-refreshes Google Chrome tabs with file:/// documents open when their source has been modified in notepad++.

Npp plugin acts as a local server and returns file modification date for requested filenames from Chrome extension. Polling is done every second on http://localhost:40500/

Building and Installing

You need Delphi XE2 to build the npp plugin. Open NppSync.dpr and build. Put NppSync.dll in your plugins dir (either in appdata or in npp plugins subdir if you have a portable install).

To load the plugin in Chrome open extensions page and load \ChromeExtension as an unpacked extension.

Usage

When you open a file:// url in Chrome an icon appears in OmniBox. Red means disabled, Green, enabled. Click the icon to enable the extension then edit the source of the document in notepad++; Chrome auto-refreshes the changes.

When you load the extension enable "Allow access to file URLs" on the extensions page.

Licence

Public domain/Free for all

Changelog

  • 1.0.0 - Initial release
  • 1.1.0 - Now refreshes the page if any of the local scripts or styles linked in the head section have been modified as well. Remember to allow access to file URLs for NppSync on extensions page.
  • 1.2.0 - Fixed most bugs.
  • 1.3.0 - Fixed even more bugs! Now works with paths with spaces. Added compiled dll.

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.