You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "excolo-rick (via GitHub)" <gi...@apache.org> on 2023/05/05 15:10:10 UTC

[GitHub] [netbeans] excolo-rick opened a new issue, #5919: Javascript syntax parser: import.meta.url not recognised

excolo-rick opened a new issue, #5919:
URL: https://github.com/apache/netbeans/issues/5919

   ### Apache NetBeans version
   
   Apache NetBeans 17
   
   ### What happened
   
   A javascript function call with `import.meta.url` as a parameter gets interpretted by the syntax formatter as an out-of-place `import` statement. This shows the js file as containing an error, even though it doesn't.
   
   ### How to reproduce
   
   In a javascript file:
   `(() => {})(import.meta.url);`
   
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Window 11
   
   ### JDK
   
   18
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Javascript syntax parser: import.meta.url not recognised [netbeans]

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #5919:
URL: https://github.com/apache/netbeans/issues/5919#issuecomment-2035252243

   @alexstanciu-1 thanks for testing. I'll let the PR stay a few more days and test this some more in reality and will then merge. The fix will be in NB22.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Javascript syntax parser: import.meta.url not recognised [netbeans]

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing closed issue #5919: Javascript syntax parser: import.meta.url not recognised
URL: https://github.com/apache/netbeans/issues/5919


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Javascript syntax parser: import.meta.url not recognised [netbeans]

Posted by "alexstanciu-1 (via GitHub)" <gi...@apache.org>.
alexstanciu-1 commented on issue #5919:
URL: https://github.com/apache/netbeans/issues/5919#issuecomment-2034209576

   Hello
   Thank you !
   
   I have downloaded and tested 
   
   Looks Ok! 
   
   Regards,
   Alex


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Javascript syntax parser: import.meta.url not recognised [netbeans]

Posted by "alexstanciu-1 (via GitHub)" <gi...@apache.org>.
alexstanciu-1 commented on issue #5919:
URL: https://github.com/apache/netbeans/issues/5919#issuecomment-2009881071

   Hello,
   
   import.meta.url / import.meta.resolve is the only way to solve some `path` issues.
   
   Please prioritize this !
   
   Thank you


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Javascript syntax parser: import.meta.url not recognised [netbeans]

Posted by "mobegoulm (via GitHub)" <gi...@apache.org>.
mobegoulm commented on issue #5919:
URL: https://github.com/apache/netbeans/issues/5919#issuecomment-1780447378

   Hi there, is this still on progress? Trying to develop a javascript/vue application on NetBeans and it shows many of exactliy this kind of errors.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] Javascript syntax parser: import.meta.url not recognised [netbeans]

Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #5919:
URL: https://github.com/apache/netbeans/issues/5919#issuecomment-2028804691

   @alexstanciu-1 @excolo-rick @mobegoulm please check the changes proposed in #7211. These add support for the meta properties and code completion. 
   
   A nightly build is available from the checks page: https://github.com/apache/netbeans/pull/7211/checks (see artifacts dropdown) or directly: https://github.com/apache/netbeans/suites/22276568166/artifacts/1372776118.
   
   Please test that build it is available for the next 5 days.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists