새 스크립트 창이 열릴 때 Names Default to Here( 1 ) 자동 포함스크립트 편집기 환경 설정에 새로운 환경 설정이 추가되었으면 합니다.체크하면 자동으로 네임스페이스 사양을 추가하는 확인란을 제공합니다.
Names Default to Here( 1 );
새 스크립트 창이 요청될 때 스크립트의 첫 번째 줄로.
스크립팅Re: 새 스크립트 창이 열릴 때 Names Default to Here( 1 )가 자동으로 포함됩니다.고마워 샘......
Re: 새 스크립트 창이 열릴 때 Names Default to Here( 1 )가 자동으로 포함됨 - 상태가 다음으로 변경됨: Investigating우리는 이 아이디어를 더 자세히 살펴보고 있으며 더 많은 정보가 있을 때 업데이트를 제공할 것입니다.
Re: 새 스크립트 창이 열릴 때 Names Default to Here( 1 )가 자동으로 포함됩니다.고급 사용자에게 좋을 것이라고 생각하는 다른 솔루션에 관계없이 스크립팅을 처음 사용하는 사람들에게 도움이 될 기본 이름을 여기로 지정하는 것이 좋습니다.
Re: 새 스크립트 창이 열릴 때 Names Default to Here( 1 )가 자동으로 포함됩니다.Ctrl+T에 매핑된 내 스크립트가 있습니다.
<jm:menu_and_toolbar_customizations xmlns:jm="http://www.jmp.com/ns/menu" version="3">
<jm:insert_in_main_menu>
<jm:insert_in_menu>
<jm:name>FILE</jm:name>
<jm:insert_in_menu>
<jm:name>NEW</jm:name>
<jm:customization target="SCRIPT">
<jm:accel>Ctrl+Shift+T</jm:accel>
</jm:customization>
<jm:insert_after>
<jm:name>SCRIPT</jm:name>
<jm:command>
<jm:name>HERESCRIPT</jm:name>
<jm:caption>HereScript</jm:caption>
<jm:action type="text">new window("Script", <<script("Names default to here(1);\!n"));</jm:action>
<jm:accel>Ctrl+T</jm:accel>
<jm:icon type="none"></jm:icon>
</jm:command>
<jm:command>
<jm:name>BIGCLASS</jm:name>
<jm:caption>BigClass</jm:caption>
<jm:action type="text">new window("Script", <<script("Names default to here( 1 );\!ndt = open(\!"$SAMPLE_DATA\Big Class.jmp\!");\!n"));</jm:action>
<jm:accel>Ctrl+Shift+B</jm:accel>
<jm:icon type="none"></jm:icon>
</jm:command>
</jm:insert_after>
</jm:insert_in_menu>
</jm:insert_in_menu>
</jm:insert_in_main_menu>
</jm:menu_and_toolbar_customizations>Re: 새 스크립트 창이 열릴 때 Names Default to Here( 1 )가 자동으로 포함됩니다.템플릿에서 직접 스크립트를 생성하라는 요청을 만들었습니다. R&D에 전달되었지만 폐쇄되어 그 이후에 어떻게 되었는지 알 수 없습니다. 해당 티켓은 2021년 2월 24일에 오픈되었습니다.
내 요청은 (추적 ID: 7613288873):
Questions:
Topic: General usage
Subtopic: Feature Request
Details:
Would it be possible to add new feature to JMP (for Script Editor) which would allow starting new scripts
from template?
I would not replace the current option New / Script but add additional selection with possible shortcut,
for example "New Script from Template". Path could be either similar to jmpStart.jsl which is saved to
specific location with specific name (jslTemplate.jsl?) and loaded from there OR you could maybe change it from Preferences if
Default is
not ok for you.
Added attachment as an example of template I would like to use. Currently I always have to copy-paste
the template (if I remember) to start new script.
Re: 새 스크립트 창이 열릴 때 Names Default to Here( 1 )가 자동으로 포함됩니다.안녕,
또 다른 제안은 사용자 정의할 수 있는 스크립트 템플릿을 사용하는 것입니다.
예를 들어 사용자 정의 jsl 프레임워크를 가져오는 것이 더 빠를 것입니다(이러한 가져오기가 템플릿에 정의된 경우).