{"id":510,"date":"2018-12-08T15:27:28","date_gmt":"2018-12-08T20:27:28","guid":{"rendered":"http:\/\/kennywu.info\/?p=510"},"modified":"2018-12-08T16:11:20","modified_gmt":"2018-12-08T21:11:20","slug":"how-to-add-function-list-in-notepad","status":"publish","type":"post","link":"http:\/\/kennywu.info\/?p=510","title":{"rendered":"How to add function list in Notepad++"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>In SAS Proc SQL code like this can be use to create a function list in NotePad++. It makes code navigation easy.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">CREATE TABLE WORK.TEMP_SECMOVE_1 AS<br><\/pre>\n\n\n\n<p>Now go to Notepad++. open up %appdata%\/Notepad++\/functionList.xml<\/p>\n\n\n\n<p>Add following to the <strong>associationMap <\/strong>section:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>        &lt;association userDefinedLangName=\"SAS\" id=\"sas_function\"\/><\/code><\/pre>\n\n\n\n<p>Add to the <strong>parser<\/strong> section:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>        &lt;parser id=\"sas_function\" displayName=\"SAS\">\n            &lt;function\n                mainExpr=\"^[\\s]{0,}(CREATE TABLE|INSERT INTO)[\\s]{1,}[\\w._]{1,}\">\n                &lt;functionName>\n                    &lt;funcNameExpr expr=\".*\"\/>\n                &lt;\/functionName>\n            &lt;\/function>\n        &lt;\/parser><\/code><\/pre>\n\n\n\n<p>This website is very helpful for one to learn Regular Expression.<\/p>\n\n\n\n<figure class=\"wp-block-embed\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/regex101.com\n<\/div><\/figure>\n\n\n\n<p>It allows you to see result in real time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In SAS Proc SQL code like this can be use to create a function list in NotePad++. It makes code navigation easy. CREATE TABLE WORK.TEMP_SECMOVE_1 AS Now go to Notepad++. open up %appdata%\/Notepad++\/functionList.xml Add following to the associationMap section: Add &hellip; <a href=\"http:\/\/kennywu.info\/?p=510\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-510","post","type-post","status-publish","format-standard","hentry","category-programing"],"_links":{"self":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/510","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=510"}],"version-history":[{"count":4,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/510\/revisions"}],"predecessor-version":[{"id":514,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/510\/revisions\/514"}],"wp:attachment":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=510"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}