From users-return-1777-archive-asf-public=cust-asf.ponee.io@netbeans.apache.org Tue Oct 16 11:24:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 03DAD180674 for ; Tue, 16 Oct 2018 11:24:03 +0200 (CEST) Received: (qmail 28041 invoked by uid 500); 16 Oct 2018 09:24:02 -0000 Mailing-List: contact users-help@netbeans.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@netbeans.apache.org Received: (qmail 28031 invoked by uid 99); 16 Oct 2018 09:24:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Oct 2018 09:24:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0CAAC180AE8 for ; Tue, 16 Oct 2018 09:24:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.388 X-Spam-Level: ** X-Spam-Status: No, score=2.388 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=googlemail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id VbXs2mKKdqEW for ; Tue, 16 Oct 2018 09:24:00 +0000 (UTC) Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 2AE065F2A9 for ; Tue, 16 Oct 2018 09:24:00 +0000 (UTC) Received: by mail-yb1-f179.google.com with SMTP id h1-v6so8624495ybm.4 for ; Tue, 16 Oct 2018 02:24:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=EeSQkSGwARUq1NK0mXdwmLwjQ87G7OQSgmkYUpOhaCM=; b=PFU5Q0CFzBG0mNsURLxDsziyu0R2tAYFY74hTcVhqF2hhrn1kCn2UGbTtmjajpQ4gg w6Iuh/gb66D/NYvyZnKPszUNTs/r2ifNO7h3Co8Y7tCsmIcJvs8GPzvawAOrh6FKUEZj H068/0ithlcwzbjE6jdPEbhSIHA5BmOGb6REFsBQJ1r1JyJkwC+NGuoaoQisfIJmkkli 8F6TkZFZhejVjqPhas8E3YZhBYw8KHHE7yVNXuTfn5syV3/d21HkLgnwWNK7m8xbV4wU t7VlHPWMJHBGxbYVLSDlAlodDIJMe/5gZAb/QFvKqxlPbF/h7QR53hWwXz2lYrIaVxmL TeFg== X-Gm-Message-State: ABuFfoiROf+mpRPSchosEPRZS1eKREa0GGTzOKO7a6RjpngJC6gzePCt TXmjBL79Tdhglocj7pklAm31rZ8tQCiyu1NF+4A2kBnQ X-Google-Smtp-Source: ACcGV626JfByWURLSLchu9It+lIhXvSELG3SPreis8+DJz1MzRd5X/UJpeF2nkauw4mYbVJqlGeIehaXKOemcjk+6oQ= X-Received: by 2002:a25:ab6b:: with SMTP id u98-v6mr10921654ybi.338.1539681839043; Tue, 16 Oct 2018 02:23:59 -0700 (PDT) MIME-Version: 1.0 References: <1539681756.454436484@f401.i.mail.ru> In-Reply-To: <1539681756.454436484@f401.i.mail.ru> From: Geertjan Wielenga Date: Tue, 16 Oct 2018 11:23:48 +0200 Message-ID: Subject: Re: How to add custom code generation in NetBeans 9.0 To: NetBeans Mailing List Content-Type: multipart/alternative; boundary="000000000000155b050578551dd7" --000000000000155b050578551dd7 Content-Type: text/plain; charset="UTF-8" https://platform.netbeans.org/tutorials/nbm-code-generator.html Gj On Tue, Oct 16, 2018 at 11:22 AM Alex Sviridov wrote: > In NetBeans for JavaScript and TypeScript files I need to generate some > code. > > For example, after opening JS or TS file, I press Alt+Insert and pop up > window must appear there. In this window I should select item (for example > setters and getters) and press enter. After that my code (that can generate > setters and getters) must be called. > > Could anyone say how to implement it? Any links, steps, tutorials, > instructions etc. I tried to find in internet but didn't find any > information. > Best regards, Alex > --000000000000155b050578551dd7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Gj

On Tue, Oct 16, 201= 8 at 11:22 AM Alex Sviridov <ooo_saturn7@mail.ru.invalid> wrote:
<= /div>

In NetBeans for Java= Script and TypeScript files I need to generate some code.

For example= , after opening JS or TS file, I press Alt+Insert and pop up window must ap= pear there. In this window I should select item (for example setters and ge= tters) and press enter. After that my code (that can generate setters and g= etters) must be called.

Could anyone say how to implement it? Any lin= ks, steps, tutorials, instructions etc. I tried to find in internet but did= n't find any information.

Best regards, Alex
--000000000000155b050578551dd7--