// This is an update to an earlier thread I created that had become muddled with my running commentary trying to get Arduino language support in Notepad++
After several attempts to configure a Arduino bias user defined language for Notepad++ (NPP) I managed to get something close to what I wanted (all the core and standard library keywords) but some keywords would not highlight as expected and I put this down to limitations of the otherwise excellent NPP user language lexicon. I was going to give up at that but then had the idea of adding Arduino keywords to NPP's built in C++ lexicon. This does seem to work better but at the expense of confusing the C++ language for pure C++ programming. My final solution was to download a portable version of NPP and perform my Arduino C++ additions on this copy so I have a normal C++ version to fall back on if needed.
If your interested then download and extract a portable version of NPP via here
http://portableapps.com/apps/development/notepadpp_portableLoad it up, configure it to you liking and install any plugins you use.
Open Style Configurator (Settings->Style Configurator...)
Under 'Language' select 'C++' and then select 'INSTRUCTION WORD' under 'Style'. This should show two text boxes on the right called 'Default keywords' & 'User-defined keywords'.
Copy & paste the line below that begins 'abs accept' into the 'User-defined keywords' text box.
Under 'Style' select 'TYPE WORD' and copy & paste the below line beginning 'ANALOG_MESSAGE' into the 'User-defined keywords' text box.
Under 'User ext.' type 'ino' (without the ' markers) into the box provided
Finally, click 'Save & Close' button and you should now have a portable Arduino bias C++ editor in NPP
INSTRUCTIONS
abs accept acos Adafruit_GFX Adafruit_ST7735 analogRead analogReference analogWrite answerCall asin atan atan2 attach attached attachGPRS attachInterrupt autoscroll available background begin beginPacket beginSMS beginTransmission begnWrite bit bitClear bitRead bitSet bitWrite blink blinkVersion BSSID callbackFunction ceil changePIN char checkPIN checkPUK checkReg circle class clear click Client close config connect connected const constrain cos createChar cursor degrees delay delayMicroseconds detach detachInterrupt digitalRead digitalWrite direction disconnect display double draw drawBitmap drawChar drawCircle drawCircleHelper drawFastHLine drawFastVLine drawLine drawPixel drawRect drawRoundRect drawTriangle EEPROM encryptionType end endPacket endSMS endTransmission endWrite Esplora Ethernet EthernetClient EthernetServer exists exp File fill fillCircle fillCircleHelper fillRect fillRoundRect fillScreen fillTriangle find findUntil Firmata float floor flush gatewayIP gatVoiceCallStatus getBand getCurrentCarrier getIMEI getPINUsed getResult getRotation getSignalStrength getSocket getvoiceCallStatus GPRS GSM GSM_SMS GSMBand GSMClient GSMModem GSMPIN GSMScanner GSMServer GSMVoiceCall hangCall height highByte home image int int16_t int32_t int64_t interrupts invertDisplay IPAddress isListening isPIN isPressed isValid Keyboard leftToRight LiquidCrystal listen loadImage localIP log long loop lowByte macAddress map max micros millis min mkdir Mouse move newColor NewSoftSerial noAutoscroll noBlink noCursor noDisplay noFill noInterrupts noStroke noTone null onReceive onRequest open overflow parseFloat parseInt parsePacket peek PImage pinMode point position press print printFirmwareVersion println printVersion private processInput prog_char prog_int16_t prog_int32_t prog_int64_t prog_int8_t prog_uchar prog_uint16_t prog_uint32_t prog_uint64_t prog_uint8_t prog_void PROGMEM protected public pulseIn quad radians random randomSeed read readAccelerometer readBlue readButton readBytes readBytesUntil readGreen readJoystickButton readJoystickSwitch readJoystickX readJoystickY readLightSensor readMicrophone readMicroseconds readNetworks readRed readSlider readTemperature ready receive rect register release releaseAll remoteIP remoteNumber remotePort remove requestFrom retrieveCallingNumber rightToLeft rmdir round RSSI scrollDisplayLeft scrollDisplayRight SD seek send sendAnalog sendDigital sendDigitalPort sendDigitalPortPair sendString sendSysex Serial Serial1 Serial2 Serial3 Server Servo setBand setBitOrder setClockDivider setCursor setDataMode setDNS setFirmwareNameAndVersion setFirmwareVersion setPINUsed setRotation setSpeed setTextColor setTextSize setTextWrap setTimeout setup shiftIn shiftOut short shutdown signed sin size speed SPI sq sqrt SSID static status step Stepper stop stringCallbackFunction stroke subnetMask switchPIN sysexCallbackFunction systemResetCallbackFunction tan text textSize textWrap TFT tone transfer triangle uint16_t uint32_t uint64_t uint8_t unsigned version voiceCall void width WiFi WiFiClient WiFiServer WiFiUDP Wire write writeBlue writeGreen writeMicroseconds writeRed writeRGB
TYPES
ANALOG_MESSAGE ANALOG_PORT BIN CALLING CH_JOYSTICK_SW CH_JOYSTICK_X CH_JOYSTICK_Y CH_LIGHT CH_MIC CH_SLIDER CH_SWITCH_1 CH_SWITCH_2 CH_SWITCH_3 CH_SWITCH_4 CH_TEMPERATURE CHANGE CONNECTING DEC DEFAULT DEGREES_C DEGREES_F DIGITAL_MESSAGE END_SYSEX ERROR EsploraTFT EXTERNAL FALLING FILE_READ FILE_WRITE GPRS_READY GSM_MODE_DCS GSM_MODE_EGSM GSM_MODE_EGSM_DCS GSM_MODE_GSM850_EGSM_DCS_PCS GSM_MODE_GSM850_PCS GSM_MODE_PCS GSM_MODE_UNDEFINED GSM_READY HALF_PI HEX HIGH IDLE IDLE_CALL INPUT INPUT_PULLUP INTERNAL INTERNAL1V1 INTERNAL2V56 JOYSTICK_BASE JOYSTICK_DOWN JOYSTICK_LEFT JOYSTICK_UP LOW LSBFIRST MAX_CHANNELS MAX_DATA_BYTES MSBFIRST OCT OUTPUT PI PRESSED PWM RECEIVINGCALL RELEASED REPORT_ANALOG REPORT_DIGITAL REPORT_VERSION RISING SERIAL_5E1 SERIAL_5E2 SERIAL_5N1 SERIAL_5N2 SERIAL_5O1 SERIAL_5O2 SERIAL_6E1 SERIAL_6E2 SERIAL_6N1 SERIAL_6N2 SERIAL_6O1 SERIAL_6O2 SERIAL_7E1 SERIAL_7E2 SERIAL_7N1 SERIAL_7N2 SERIAL_7O1 SERIAL_7O2 SERIAL_8E1 SERIAL_8E2 SERIAL_8N1 SERIAL_8N2 SERIAL_8O1 SERIAL_8O2 SET_PIN_MODE SPI_CLOCK_DIV128 SPI_CLOCK_DIV16 SPI_CLOCK_DIV2 SPI_CLOCK_DIV32 SPI_CLOCK_DIV4 SPI_CLOCK_DIV64 SPI_CLOCK_DIV8 SPI_MODE0 SPI_MODE1 SPI_MODE2 SPI_MODE3 START_SYSEX SWITCH_1 SWITCH_2 SWITCH_3 SWITCH_4 SWITCH_DOWN SWITCH_LEFT SWITCH_RIGHT SWITCH_UP SYSTEM_RESET TALKING TOTAL_ANALOG_PINS TOTAL_DIGITAL_PINS TOTAL_PORTS TRANSPARENT_CONNECTED TWO_PI X_AXIS Y_AXIS Z_AXIS
04/03/2013 Edit to update install instructions.
06/06/2013 Updated to IDE 1.0.5