Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

  1. Select the Insert button

  2. Select the View more button

  3. Find Custom Code Highlight for Confluence and click it

  4. Paste of type in the code you want to display

  5. Add a <highlight> tag before the start of code you want highlighted and a </highlight> closing tag at the end of any code you want highlighted

  6. Press Insert

  7. Your highlighted code will appear as below:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 var reregisterWatcher = function () { self.watcher && self.watcher.close(); // clean up existing watcher if present self.watcher = fs.watch(DESCRIPTOR_FILENAME, {persistent: false}, function (event) { if (event === 'change' || event === 'rename') { self.logger.info('Re-registering due to ' + DESCRIPTOR_FILENAME + ' change'); self.reloadDescriptor(); self.register(true); if(self.config.validateDescriptor()) { self.validateDescriptor(); } } // re-register after each change, intellij's "safe write" feature can break file watches reregisterWatcher(); }); };

  • No labels