- This topic has 7 replies, 2 voices, and was last updated 16 years, 1 month ago by
Loyal Water.
-
AuthorPosts
-
Larry GerndtMemberUpon upgrading to MyEclipse 7, the Outline view is either empty or near empty for most of my JavaScript files. Is this a known bug or is it something only I am experiencing?
January 12, 2009 at 10:13 am #293367
Loyal WaterMemberCan you paste a sample javascript file that you are working with.
Also, can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me so that I can get this tested with the same configuration.
January 12, 2009 at 10:21 am #293370
Larry GerndtMemberSample JavaScript file:
/***************************************************************
Copyright (c) 2008 Intuit Inc. All rights reserved.
Unauthorized reproduction is a violation of applicable law.
This material contains certain confidential and proprietary
information and trade secrets of Intuit Inc.
****************************************************************/
var INTUIT = INTUIT || {};
var Ext = Ext || {};INTUIT.Categorize = function()
{
var startDate;
var endDate;
var isGoalsPage;
var isTrendsPage;var setVisibilityOfCategorizationNeededPanel = function(visible)
{
var dateSelector = Ext.get(‘dfdate_selector’);
if (dateSelector) {
dateSelector.applyStyles(visible ? ‘top:149px’ : ‘top:79px’);
dateSelector.removeClass(‘x-hidden’);
}
if (visible) {
Ext.getCmp(‘categorizeNowHeaderPanel’).show(true);
Ext.getCmp(‘categorizeNowHeaderPanel’).expand(true);
Ext.get(Ext.DomQuery.selectNode(“div#mainPanel div.x-panel-header”)).addClass(‘categorize’);} else {
Ext.getCmp(‘categorizeNowHeaderPanel’).collapse(true);
Ext.get(Ext.DomQuery.selectNode(“div#mainPanel div.x-panel-header”)).removeClass(‘categorize’);
}
};var stringValueOfHowLongItTakes = function(numUncategorized)
{
var minutes = Math.round(numUncategorized/10)+1;
minutes = INTUIT.Utils.stripLeadingZerosFromString(“”+minutes);
return minutes + ‘ ‘ + (minutes===’1’ ? ‘minute’ : ‘minutes’);
};var updateDisplay = function(numUncategorized)
{
var num = numUncategorized;
Ext.fly(‘num-uncategorized’).update(“”+num);
Ext.fly(‘num-minutes’).update(stringValueOfHowLongItTakes(num));
setVisibilityOfCategorizationNeededPanel(num >= 2);
};var handleReceivedTransactions = function(options, success, xhr)
{
if(xhr.status===INTUIT.Ajax.xhrStatus.ok)
{
var json = eval(‘(‘+ xhr.responseText +’)’);
updateDisplay(json.rowCount);
}
};var requestTransactions = function()
{
INTUIT.Ajax.request({
url: INTUIT.Url.getBasePath() + “jsf/dynamic/ajax/getUncategorizedTxns?” + Ext.urlEncode({startDate:startDate, endDate:endDate}),
method:”GET”,
callback: handleReceivedTransactions
});
};var refresh = function(_startDate, _endDate)
{
startDate = _startDate ? _startDate : startDate;
endDate = _endDate ? _endDate : endDate;
requestTransactions();
};var handleDoneCategorizing = function()
{
refresh();
if (isGoalsPage) { INTUIT.FLEX.getFlexApp(‘BudgetingProjectFlash’).reloadBudgetGoals(); }
if (isTrendsPage) { INTUIT.TrendsPageController.refresh(); }
};var categorize = function()
{
INTUIT.InOutPieTxnsDialog.showDialogForCategoryWhenCalledFromExternalPage(
‘Uncategorized’, startDate, endDate, handleDoneCategorizing, ‘uncategorizedTxnsDialog’);
};var init = function()
{
new Ext.ux.ImageButton({
renderTo: ‘categorize-now-button-anchor’,
imgPath : ‘images/common/btn_categorize.png’,
imgWidth : 133,
imgHeight : 33,
handler: categorize
});
isGoalsPage = window.location[‘href’].indexOf(‘goals’) != -1;
isTrendsPage = window.location[‘href’].indexOf(‘trends’) != -1;
};return {
init : init,
refresh : refresh,
categorize : categorize
};}();
Installation Details:
*** Date:
Monday, January 12, 2009 8:18:29 AM PST** System properties:
OS=MacOSX
OS version=10.5.6
Java version=1.5.0_16*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.0
Build id: 7.0-20081201*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.0
Build id: 7.0-20081201Eclipse Platform
Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700Eclipse Java Development Tools
Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800Eclipse Graphical Editing Framework GEF
Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400Eclipse RCP
Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800Eclipse Plug-in Development Environment
Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800Eclipse startup command=-os
macosx
-ws
carbon
-arch
x86
-showsplash
-launcher
/Library/Genuitec/MyEclipse 7.0/myeclipse.app/Contents/MacOS/myeclipse
-name
Myeclipse
–launcher.library
/Library/Genuitec/MyEclipse 7.0/myeclipse.app/Contents/MacOS//../../../../Common/plugins/org.eclipse.equinox.launcher.carbon.macosx_1.0.101.R34x_v20080731/eclipse_1115.so
-startup
/Library/Genuitec/MyEclipse 7.0/myeclipse.app/Contents/MacOS/../../../../Common/plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
../../../configuration
-launcher
/Library/Genuitec/MyEclipse 7.0/myeclipse.app/Contents/MacOS/myeclipse
-clean
-configuration
../../../configuration
-data
/Users/lgerndt/Projects/Java/workspace
-launcher
/Library/Genuitec/MyEclipse 7.0/myeclipse.app/Contents/MacOS/myeclipse
-clean
-configuration
../../../configuration
-keyring
/Users/lgerndt/.eclipse_keyring
-consoleLog
-showlocation
-vm
/System/Library/Frameworks/JavaVM.frameworkJanuary 13, 2009 at 2:35 pm #293460
Loyal WaterMemberlgerndt,
I was able to reproduce the issue with the sample js fie that you uploaded. I’ll ask the dev team to look into this issue right away. Sorry for the inconvenience caused.January 13, 2009 at 2:50 pm #293465
Larry GerndtMemberthanks Nipun!
January 14, 2009 at 12:49 pm #293510
Loyal WaterMemberYour welcome.
June 11, 2009 at 6:32 pm #299271
Larry GerndtMemberI’m really surprised that no one else is complaining about JavaScript outlines not working. I suppose most people are not using closures (i.e. the Crockford Singleton pattern). I use it for almost everything.
June 12, 2009 at 3:17 pm #299341
Loyal WaterMemberIm sorry we could not include a fix for this problem in the 7.5 release. We are going to try and address JavaScript tooling across the board for 8.x
-
AuthorPosts