Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 93061 invoked from network); 8 Sep 2010 01:40:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Sep 2010 01:40:23 -0000 Received: (qmail 6799 invoked by uid 500); 8 Sep 2010 01:40:23 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 6661 invoked by uid 500); 8 Sep 2010 01:40:22 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 6653 invoked by uid 99); 8 Sep 2010 01:40:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 01:40:22 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mspetrovic@gmail.com designates 209.85.212.172 as permitted sender) Received: from [209.85.212.172] (HELO mail-px0-f172.google.com) (209.85.212.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Sep 2010 01:40:14 +0000 Received: by pxi6 with SMTP id 6so1973458pxi.17 for ; Tue, 07 Sep 2010 18:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=ogDhFJ+cpkYxhI/+MocmrssulFPNjtxYnSm+K9QKJRI=; b=Q/2lqqP+hV95UXyt1eK4UhBes0lnoOsSHt0w/8t2YueVcRtaQT4eP0TmRdCBlPM72T fNMNwoDVpphQzjXFAVBsvKoHUlY2ckTfRbV0QkHEmL6eNm8xPpJsU4rhp2TA8NB/kogs rrTaEU7jq2fVJWLbSfRmCR8hW68BJ121FCDdM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=w6xFQtQJFd2jkTuoNinBsRFhpScRKbMH4nZnMJQQb9lfq+XW8AZWkVNYKvvTNIPAJZ 5/sZEm4CkIHQAka+yTMEG9kgo7sPdT0cOrCdUYCc6dXkR3io1gm7W1i7Bnx/jVxaayWz R/kxNHki39vDHoj5cfIRfPnUbEUjlJK8HV8/c= Received: by 10.114.47.4 with SMTP id u4mr386733wau.128.1283909994075; Tue, 07 Sep 2010 18:39:54 -0700 (PDT) Received: from [192.168.0.11] (99-27-205-119.lightspeed.irvnca.sbcglobal.net [99.27.205.119]) by mx.google.com with ESMTPS id q6sm14570336waj.10.2010.09.07.18.39.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 07 Sep 2010 18:39:53 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: Intellij Plugin to provide clear view of buildfile From: Mark Petrovic In-Reply-To: <154428.38812.qm@web31601.mail.mud.yahoo.com> Date: Tue, 7 Sep 2010 18:39:52 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <173267FB-642C-45BD-8A27-2D7BEBEEAC30@gmail.com> References: <082E4702-8981-4678-87F8-CBCB1D09201A@gmail.com> <154428.38812.qm@web31601.mail.mud.yahoo.com> To: users@buildr.apache.org X-Mailer: Apple Mail (2.1081) I actually started down the path of writing such an IJ plugin, but found = while reading the docs that I had to provide an extension for the file, = as you found with NB. I suspect there is a way around this, as when I = actually double-clicked my buildfile, IJ prompted me to bind it to a = language, which I did (Ruby). And now I get all the supported-language = goodness when I edit the buildfile in IJ. The plugin development documentation for a given IDE can be somewhat = sketchy and rather decentralized. I may have missed something. Sorry to subject you to this, but if the buildfile is Ruby, how do the = 'desc' and 'define' keywords fit into this? On Sep 7, 2010, at 6:29 PM, Chiaming Hsu wrote: > The buildfile is Ruby code. Would you be able to make IntelliJ treat = the=20 > buildfile as a Ruby source file? I tell my gEdit that the buildfile = is Ruby and=20 > it adds the syntax coloring nicely. I had trouble doing that with = NetBeans,=20 > though, since NetBeans insists that file type association must be done = through=20 > "file extension" but my buildfile is just named buildfile without any = file=20 > extension... >=20 > Cheers, > Chiaming Hsu >=20 >=20 >=20 > ----- Original Message ---- > From: Mark Petrovic > To: Buildr Users > Sent: Tue, September 7, 2010 6:07:28 PM > Subject: Intellij Plugin to provide clear view of buildfile >=20 > It would be nice to have an Intellij plugin that provides a nice, = clean view of=20 > a buildfile, with collapse-able handles for each 'define ' = node and=20 > whatever other eye candy one could come up with. I have some = experience writing=20 > plugins for NetBeans, and have reviewed a few plugin examples for IJ. >=20 > Does anyone have any experience with buildfile parsers, which I assume = we'd need=20 > to write such a plugin? The buildfile is not actually Ruby per-se, = right? =20 >=20 >=20 > -- > Mark Petrovic -- Mark Petrovic