• Home
  • Site Aliases
    • www.cloud-native.info
    • oracle.cloud-native.info
    • Phil-Wilkins.uk
  • About
    • Background
    • Presenting Activities
    • Internet Profile
      • LinkedIn
    • About
  • Books & Publications
    • Logging in Action with Fluentd, Kubernetes and More
      • Logging in Action with Fluentd – Book
      • Fluentd Book Resources
      • Log Generator
    • API & API Platform
      • API Useful Resources
    • Oracle Integration
      • Book Website
      • Useful Reading Sources
    • Publication Contributions
  • Resources
    • GitHub
    • Mindmaps Index
    • Oracle Integration Site
    • Useful Tech Resources …
      • Oracle Tech Resources inc Open Source
      • Useful Tech Resources
      • Python Setup & related stuff
  • Music

Phil (aka MP3Monster)'s Blog

~ from Technology to Music

Phil (aka MP3Monster)'s Blog

Tag Archives: Pretty formatting

JDeveloper & Copying Formatted Text

13 Monday May 2013

Posted by mp3monster in General, Technology

≈ Leave a comment

Tags

JDeveloper, Plugin, Pretty formatting, XSD

 

I’ve started to use Oracle’s JDeveloper more and more, not just because I’m working with the AIA (Application Integration Architecture) Foundation Pack but also as an XSD Editor for designing interface definitions.

I’ve spent sometime trying to find a solution that can compete with XML Spy but without the huge price tag.  I’ve tried OxygenXML, Eclipse, Visual Studio among others and concluded that its very good for a free tool. Perhaps still not as good as XMLSpy – but thats the difference between an IDE and a dedicated XSD/XML tool.

image JDeveloper design view- with a lot of similarities to XMLSpy in presentation

You might think, that to use JDeveloper I have to commit to using the Oracle technology stack (and the big price tag that comes with), but this isn’t the case.

Not to mention Oracle have very much caught up with the Open Source World of Maven, there is a growing library of plugins both Official and Open Source covering a plethora of things from JUnit integration to Python & Groovy language  syntaxes.

One of the nice things with XMLSpy and VisualStudio is the ability to copy into other documents the pretty formatted text (colour coded syntax etc) – making schemas or code fragments easier to look at in a document.  However out of the box JDeveloper doesn’t do this out of the box. But it would seem that this capability wasn’t just wanted by me, so an extension has been written Chris Hughes that solves this problem called jdev-copyashtml.


<?xmlversion="1.0"encoding="ISO-8859-1"?><xs:schemaxmlns:xs="http://www.w3.org/2001/XMLSchema"><xs:elementname="shiporder"><xs:complexType><xs:sequence><xs:elementname="orderperson"type="xs:string"/><xs:elementname="shipto"><xs:complexType><xs:sequence><xs:elementname="name"type="xs:string"/><xs:elementname="address"type="xs:string"/><xs:elementname="city"type="xs:string"/><xs:elementname="country"type="xs:string"/></xs:sequence></xs:complexType></xs:element><xs:elementname="item"maxOccurs="unbounded"><xs:complexType><xs:sequence><xs:elementname="title"type="xs:string"/><xs:elementname="note"type="xs:string"minOccurs="0"/><xs:elementname="quantity"type="xs:positiveInteger"/><xs:elementname="price"type="xs:decimal"/></xs:sequence></xs:complexType></xs:element></xs:sequence><xs:attributename="orderid"type="xs:string"use="required"/></xs:complexType></xs:element></xs:schema>

 

Once downloaded go to Help –> Check for Updates and step through so you can then choose your download – as shown.

image

Once installed you’ll need to restart JDeveloper.  To then configure to plugin to work as you want go to Tools –> Preferences… Where you should be able to find Copy As HTML/RTF in the left menu tree to get the options to configure the plugin behaviour.

image

If you’re going from Windows application to another then you want the Rich Text Format setting.  After that rather than Ctrl+C its Ctrl+H to copy and carry the pretty formatting/colours etc.

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • Print
  • Pocket
  • Email
  • Tumblr
  • Reddit
  • Pinterest
  • WhatsApp
  • Skype

Like this:

Like Loading...

Aliases

  • phil-wilkins.uk
  • cloud-native.info
  • oracle.cloud-native.info

I work for Oracle, all opinions here are my own & do not necessarily reflect the views of Oracle

Oracle Ace Director Alumni

TOGAF 9

Logging in Action

Oracle Cloud Integration Book

API Platform Book


Oracle Dev Meetup London

Categories

  • App Ideas
  • Books
    • Book Reviews
    • manning
    • Oracle Press
    • Packt
  • Enterprise architecture
  • General
    • economy
    • LinkedIn
    • Website
  • Music
    • Music Resources
    • Music Reviews
  • Photography
  • Podcasts
  • Technology
    • APIs & microservices
    • chatbots
    • Cloud
    • Cloud Native
    • Dev Meetup
    • development
      • languages
        • node.js
    • drone
    • Fluentd
    • logsimulator
    • mindmap
    • OMESA
    • Oracle
      • API Platform CS
        • tools
      • Helidon
      • ITSO & OEAF
      • Java Cloud
      • NodeJS Cloud
      • OIC – ICS
      • Oracle Cloud Native
      • OUG
    • railroad diagrams
    • TOGAF
  • xxRetired

My Other Web Content & Contributions

  • Amazon Author entry
  • API Platform
  • Dev Meetup (co-managed)
  • Fluentd Book
  • ICS Book Website
  • OMESA
  • Ora World
  • Oracle Community Directory
  • Packt Author Bio
  • Phil on Blogs.Oracle.com
  • Sessionize Profile

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 2,541 other subscribers

RSS

RSS Feed RSS - Posts

RSS Feed RSS - Comments

February 2023
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728  
« Jan    

Twitter

  • File system replication is now available as a fully managed solution for your enterprise workloads with #OCI File S… twitter.com/i/web/status/1…Next Tweet: 3 days ago
  • Find out how NIBIO's Smart Forest research center utilizes @OracleCloud to store, process, and apply #AI to data to… twitter.com/i/web/status/1…Next Tweet: 4 days ago
  • .@TechArena's latest ebook "Seven Strategies for Maximizing Organizational Return” highlights #OCI. Bev Crair discu… twitter.com/i/web/status/1…Next Tweet: 4 days ago
  • Clever use of SSH tunnelling, Applies to multiple Linux flavours and Windows .... blogs.oracle.com/developers/pos…Next Tweet: 5 days ago
  • 25% done with Let's Do It, by Bob Stanley goodreads.com/user_status/sh…Next Tweet: 5 days ago
Follow @mp3monster

History

Speaker Recognition

Open Source Summit Speaker

Flickr Pics

Pembroke CastleSeven Bridge Crossing
More Photos

    Social

    • View @mp3monster’s profile on Twitter
    • View philwilkins’s profile on LinkedIn
    • View mp3monster’s profile on GitHub
    • View mp3monster’s profile on Flickr
    • View philmp3monster’s profile on Twitch
    Follow Phil (aka MP3Monster)'s Blog on WordPress.com

    Blog at WordPress.com.

    • Follow Following
      • Phil (aka MP3Monster)'s Blog
      • Join 217 other followers
      • Already have a WordPress.com account? Log in now.
      • Phil (aka MP3Monster)'s Blog
      • Customize
      • Follow Following
      • Sign up
      • Log in
      • Report this content
      • View site in Reader
      • Manage subscriptions
      • Collapse this bar
    Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
    To find out more, including how to control cookies, see here: Our Cookie Policy
    %d bloggers like this: